vuetifyjs / webpack-ssr

Vuetify Webpack SSR Template
https://vuetifyjs.com/overview
62 stars 28 forks source link

Client build not possible #8

Closed smyth64 closed 7 years ago

smyth64 commented 7 years ago

Hello guys, Today I wanted to build my vue project for cordova.

So I tried to modify the client webpack config and take the "dist" folder for cordova.

I first tried to use

http-server dist/

But when I open the browser on 127.0.0.1:8080 I get this error:

ncaught TypeError: Cannot read property 'route' of undefined
    at t.watch.t.fullPath.a (vendor.5305c9e….js:19)
    at Bt.<anonymous> (vendor.5305c9e….js:24)
    at wr.get (vendor.5305c9e….js:7)
    at wr.run (vendor.5305c9e….js:7)
    at wr.update (vendor.5305c9e….js:7)
    at Wn.notify (vendor.5305c9e….js:7)
    at Object.set [as state] (vendor.5305c9e….js:6)
    at Bt.set [as state] (vendor.5305c9e….js:6)
    at vendor.5305c9e….js:24
    at T._withCommit (vendor.5305c9e….js:24)

Is it still possible with this template to render only the client-side?

What is the best approach to get this boilerplate into a native app for example using cordova?

Thank you very much!

johnleider commented 7 years ago

Please follow the guidelines on how to report an issue. In particular, provide an example on www.jsfiddle.net (or a similar service) that reproduces the problem. If necessary, create a repository for us to clone with a minimal reproduction. repositories of actual projects will generally not be accepted .

Thank you.