Orbis
Orbis
NNuxt
Created by Orbis on 9/26/2024 in #❓・help
+2MB bundlesize after update to v.3.13.2
I have updated nuxt to the latest version and now the entry point client side js chunk increased by +2MB. nuxi analyze shows primary naive-ui as the source of bundle size. It works fine with nuxt v3.13.1. Does anything changed that can cause this increase?
4 replies
NNuxt
Created by Orbis on 8/20/2024 in #❓・help
TS: Custom typed PageMeta not working
i am facing
layouts/default.vue:9:69 - error TS18046: '__VLS_ctx.route.meta.backTo' is of type 'unknown'.
layouts/default.vue:9:69 - error TS18046: '__VLS_ctx.route.meta.backTo' is of type 'unknown'.
this is my index.d.ts
declare module '#app' {
interface PageMeta {
backTo?: {
to: string
text: string
}
}
}

// It is always important to ensure you import/export something when augmenting a type
export {}
declare module '#app' {
interface PageMeta {
backTo?: {
to: string
text: string
}
}
}

// It is always important to ensure you import/export something when augmenting a type
export {}
i think at one moment it worked and then it didnt 😅 any ideas?
1 replies
NNuxt
Created by Orbis on 6/21/2024 in #❓・help
Internal server error: ENOENT: no such file or directory
just started a fresh project with pnpm dlx nuxi@latest init <project-name>. installed all dependencies with pnpm i and ran the dev server. I got:
ERROR Internal server error: ENOENT: no such file or directory, open '/node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-inspector/src/Overlay.vue'
ERROR Internal server error: ENOENT: no such file or directory, open '/node_modules/.pnpm/[email protected][email protected]/node_modules/vite-plugin-vue-inspector/src/Overlay.vue'
do i miss anything? ------------------------------ - Operating System: Linux - Node Version: v20.11.0 - Nuxt Version: 3.12.2 - CLI Version: 3.12.0 - Nitro Version: 2.9.6 - Package Manager: [email protected] - Builder: - - User Config: devtools, ssr - Runtime Modules: - - Build Modules: - ------------------------------
2 replies
NNuxt
Created by Orbis on 3/5/2024 in #❓・help
full E2E example
does anyone have a repository in which they use e2e tests (vitest + playw.) similar to cypress e2e? unfortunately i can't really get on with the existing docs
2 replies