[READ-ONLY] Mirror of https://github.com/danielroe/netlify-dynamic-builder.
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: add some links

+12 -2
+10 -2
app.vue
··· 1 1 <template> 2 2 <div> 3 - {{ timestamp }} 3 + <strong>Path</strong>: {{ $route.path }} 4 + <br /> 5 + <strong>Generated at</strong>: {{ timestamp }} 6 + <br /> 7 + <ul> 8 + <li><a href="/blog/test">Fully static page</a></li> 9 + <li><a href="/articles">TTL of a minute</a></li> 10 + <li><a href="/">Fully dynamic SSR</a></li> 11 + </ul> 4 12 </div> 5 13 </template> 6 14 7 15 <script setup> 8 - const timestamp = useState(() => Date.now()); 16 + const timestamp = useState(() => Date.now()) 9 17 </script>
+2
nuxt.config.ts
··· 10 10 }, 11 11 hooks: { 12 12 async 'compiled' (nitro) { 13 + if (nitro.options.dev) return 14 + 13 15 const redirectsPath = join(nitro.options.output.publicDir, '_redirects') 14 16 let contents = '/* /.netlify/functions/server 200' 15 17 if (existsSync(redirectsPath)) {