Tim
Tim
Explore posts from servers
NNuxt
Created by Tim on 4/12/2024 in #❓・help
Nuxt 2: Exclude route from router magic
The nuxt 3 project does show if I go to /next/index.html but I’d rather want it to show if I go to /next/
2 replies
NNuxt
Created by Tim on 7/25/2023 in #❓・help
what is the right way to use functions from js file?
right now I fixed it by calling the function after a promise
5 replies
NNuxt
Created by Tim on 7/25/2023 in #❓・help
what is the right way to use functions from js file?
putting the function in a created or setup also returns a 500, however putting it above the export makes it sometimes returns a 500
at ./app.vue:6:1
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:341:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:197:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:231:12)
at async ./virtual:nuxt:/Users/timslager/Documents/Javascript/mbds_landing_page/landing_page/.nuxt/app-component.mjs:1:31
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:341:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:197:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:231:12)
at async ./node_modules/nuxt/dist/app/components/nuxt-root.vue:6:31
at ./app.vue:6:1
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:341:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:197:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:231:12)
at async ./virtual:nuxt:/Users/timslager/Documents/Javascript/mbds_landing_page/landing_page/.nuxt/app-component.mjs:1:31
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:341:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:197:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:231:12)
at async ./node_modules/nuxt/dist/app/components/nuxt-root.vue:6:31
5 replies