You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there. Just have read previous discussions about frontend dev mode. The current solution I'm using for vue is:
Run vue dev server on another port with vue-cli-service build --watch --mode production which is watching for the frontend ./src changes and rebuilds full app to ./dist.
Run default wails dev on default port, so the browser makes auto-refresh right after watcher rebuild
For me it seems to be a half-solution and really not as convenient as in wails v1, just because rebuild full app and unnecessary auto-refresh is much slower than vue HMR (which is currently can't be used, because wails v2 looking only for dist)
Is it possible that I'm missing smth and there's some smart way to run vue-frontend with HMR?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there. Just have read previous discussions about frontend dev mode. The current solution I'm using for vue is:
vue-cli-service build --watch --mode production
which is watching for the frontend./src
changes and rebuilds full app to./dist
.wails dev
on default port, so the browser makes auto-refresh right after watcher rebuildFor me it seems to be a half-solution and really not as convenient as in wails v1, just because rebuild full app and unnecessary auto-refresh is much slower than vue HMR (which is currently can't be used, because wails v2 looking only for
dist
)Is it possible that I'm missing smth and there's some smart way to run vue-frontend with HMR?
Beta Was this translation helpful? Give feedback.
All reactions