Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Vue 3 in the frontend #52

Open
ninoseki opened this issue Sep 24, 2020 · 2 comments
Open

Use Vue 3 in the frontend #52

ninoseki opened this issue Sep 24, 2020 · 2 comments

Comments

@ninoseki
Copy link
Contributor

Vue v3 has released and it provides improved performance, smaller bundle sizes, etc.
https://github.com/vuejs/vue-next/releases/tag/v3.0.0

I think it is a good time to revamp the frontend.
I will work on this if it makes sense. with you @Fitblip.

@Fitblip
Copy link
Member

Fitblip commented Dec 5, 2020

Hi @ninoseki, if you want to go for it, though I think it works fine as-is. Smaller bundles are always a plus though :)

@ninoseki
Copy link
Contributor Author

@Fitblip I compared bundle sizes of the current Vue2 implementation and my Vue3 implementation.

Vue2

$ du -k dist/
924     dist//static/css
1384    dist//static/js
2624    dist//static/img
1600    dist//static/fonts
6556    dist//static
6560    dist/

Vue3

$ du -k dist/
372     dist//static/css
1564    dist//static/js
2732    dist//static/img
1644    dist//static/fonts
6312    dist//static
6316    dist/

The difference is not bigger than I expected but the Vue3's bundle size is smaller than the Vue2.

Also, I'd like to mention that Vue3's configuration files are more easy to understand than the current version. It's an advantage.

ninoseki added a commit to ninoseki/certstream-server that referenced this issue Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants