Is it possible to deploy nuxt-js spa project in shared hosting like hostgator through cpanel?
I have tried several time to run below command, it's generate dist folder but didn't work.
My command: npm run build
Can you help me please?
npm run build
Builds files for `npm run start` serving. And looks like you want it to be static files, which you just upload to hosting. So you should run:
npm run generate
then in `/dist/` you will find static spa.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With