Notice integrates with the SSR framework NuxtJS
You can copy the example below, don't forget to replace the project-id.
<template>
<div>
<div class="notice-target-container" project-id="[your-project-id]"></div>
</div>
</template>
<script>
export default {
mounted() {
(function() {
const d = document;
const s = d.createElement("script");
s.src =
"https://bundle.notice.studio/index.js";
s.async = true;
d.getElementsByTagName("head")[0].appendChild(s);
})();
}
}
</script>
<style scoped>
@import 'https://bundle.notice.studio/index.css';
</style>