caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
169 stars 18 forks source link

npm run dev --without-electron #81

Open TobiasDoe opened 1 month ago

TobiasDoe commented 1 month ago

Hi. Just a super quick question: is there a way to have a npm script to not run electron at all in dev?

npm run dev -- -no-electron??

I just want to code the frontend and don't need electron at that stage at all.

I can do the same at the build phase with

npm run build -> this only builds the next and not the electron part

Thanks for the answers. MfG