caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
191 stars 21 forks source link

npm run dev --without-electron #81

Open TobiasDoe opened 6 months ago

TobiasDoe commented 6 months 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

JulienChampagnol commented 4 months ago

Just remove the electron plugin and connect to localhost:3000 like a normal nuxt project and then add it back later ?