windflow-io / EternalEngine

Eternal Engine is an open-source cloud-based rapid application development platform for lovers of Vue.js and TailwindCSS.
MIT License
5 stars 1 forks source link

Upgrade vue and use prod versions #10

Open sparkyspider opened 4 years ago

sparkyspider commented 4 years ago

I think we're using pre-release versions of Vue and VueX. We should upgrade.

Vue 3 has development and production optimised versions. We really should look at using the production optimised versions when the user is not in edit mode. @maoberlehner please comment.

Obviously we cannot "hotswap" Vue. All I can imaging is that when they add #edit and hit refresh that the server picks up the #edit (can it) and then renders the development version.

maoberlehner commented 4 years ago

I’ve already upgraded Vue locally. The server can’t pick up hash url fragments they’re client only.

sparkyspider commented 4 years ago

Thank you for upgrading. I assume this will go up in your next push. What about this?

If (user == logged in && user = developer / owner) serve dev else serve prod?