You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// register vue composition api globallyimport{ViteSSG}from'vite-ssg'importgeneratedRoutesfrom'virtual:generated-pages'import{setupLayouts}from'virtual:generated-layouts'importAppfrom'./App.vue'import'uno.css'import'@sfxcode/formkit-primevue/dist/sass/formkit-primevue.scss'import'@sfxcode/formkit-primevue/dist/sass/formkit-prime-inputs.scss'constroutes=setupLayouts(generatedRoutes)exportconstcreateApp=ViteSSG(App,{ routes },(ctx)=>{// install all modules under `modules/`Object.values(import.meta.globEager('./modules/*.ts')).map(i=>i.install?.(ctx))},)
the "i" in mapping the module is an error
By the way what do you mean by the above code?
Why do we pass the "ctx" to install?
Hi there,
I came here because I couldn't make SSG work on normal vitese hoping that you fixed that somehow, but it all resolves around same problem.
Directory import /node_modules/primevue/autocomplete' is not supported resolving ES modules imported
The text was updated successfully, but these errors were encountered: