saltyshiomix / nuxtron

⚡ Nuxt.js + Electron ⚡

Home Page:https://npm.im/nuxtron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPA mode example

dzeso opened this issue · comments

commented

Could you make SPA mode example please ( mode: 'spa' in nuxt.confige.js)? Your examples don't work in SPA mode after npm run build. Something wrong with routes

Could you make SPA mode example please ( mode: 'spa' in nuxt.confige.js)? Your examples don't work in SPA mode after npm run build. Something wrong with routes

I have the same problem.
If you find a solution, let me know please.
My reproduction link https://github.com/Gimanh/ZVION/tree/spa-bug

Hi!
Here is my solution with example https://github.com/Gimanh/ZVION/tree/spa-bug was tested (dev, build) with typescript.
Fork is https://github.com/Gimanh/nuxtron/commit/b1fbbf4d3eed3b044f39b24d52460447bd6a4d42
Everything works fine :)

Could you make SPA mode example please ( mode: 'spa' in nuxt.confige.js)? Your examples don't work in SPA mode after npm run build. Something wrong with routes

Working config for JavaScript and updated readme
See last commits
https://github.com/Gimanh/nuxtron