MolakDul
Is it Possible to Build both normal Nuxt app and Component Library in one config file?
Ok ok, i think your problem come from the fact that when you run "yarn dev" or "npm run dev" nuxt detect you have a vite.config.ts file and this cause your actual issue right ?
Then you could rename your vite.config.ts file into something like vite.config.lib.ts and make the build with the following command:
vite --config vite.config.lib.ts
8 replies