"scripts": { "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", "spa": "nuxt start —mode spa", "generate": "nuxt generate", "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", "precommit": "npm run lint" }
I run npm run spa and I get this Error
No build files found, please run nuxt build
before launching nuxt start
Then I run npm run build before npm run spa still gets the same error. It works when using npm run start without the -mode spa
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1157">#c1157</a>)</em></sub></div>