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

Migrate app from Vue 2 to Vue 3. #5716

Closed
4 tasks
zhyd1997 opened this issue Apr 18, 2023 · 4 comments
Closed
4 tasks

Migrate app from Vue 2 to Vue 3. #5716

zhyd1997 opened this issue Apr 18, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@zhyd1997
Copy link
Contributor

Is your feature request related to a problem?

Unlock Vite, Nuxt 3 and Nuxt i18n (compatible with vue i18n) for better DX and UX:
Screenshot 2023-04-18 at 20 25 20

Describe the solution you would like

Currently 50.1 % of files in codebase (based on this commit) written in Vue (2):
Screenshot 2023-04-18 at 20 32 06

and distributed in these folders:

  • components
  • layouts
  • libs/ui/src/components
  • pages

the solution is we can start from scratch which only install need libraries used in portal file, and then add more pages which will be writen in Vue 3.

the initial files can be setup by pnpm dlx nuxi init <project-name>.

Describe alternatives you have considered

Or start from Vue 3 directly:

Screenshot 2023-04-18 at 20 42 14

the libraries seems that is needed in current codebase.

and then option in Nuxt 3.

Screenshots

No response

Are there opened related issues?

Towards Vue 3 / Nuxt 3

@zhyd1997 zhyd1997 added the enhancement New feature or request label Apr 18, 2023
@roiLeo
Copy link
Contributor

roiLeo commented Apr 18, 2023

Describe the solution you would like

Currently 50.1 % of files in codebase (based on this commit) written in Vue (2): Screenshot 2023-04-18 at 20 32 06

should be done with #4750

the solution is we can start from scratch which only install need libraries used in portal file, and then add more pages which will be writen in Vue 3.

Hmm.. good luck with that

the initial files can be setup by pnpm dlx nuxi init <project-name>.

Describe alternatives you have considered

Or start from Vue 3 directly:

I would keep nuxt for SSR.

Are there opened related issues?

Duplicate of #2690?

@yangwao
Copy link
Member

yangwao commented Apr 19, 2023

hey @zhyd1997 if you want to be dedicated to this it would be more than welcome to unlock for us Vue3, Vite and a lot of recent perks.

Happy to pay you some gig if you manage crack on this, would you be up to?

Yet if so, I would like to see this hard work in a separate branch like vue3 as you'll have a lot of conflicts at our current pace of amount of PRs. I can set a dedicated deployment branch for you if you say yes.

@zhyd1997
Copy link
Contributor Author

Thanks but I am not familiar with Vue, just my idea, can share on Twitter to see if someone is interesting in it.

@yangwao
Copy link
Member

yangwao commented Apr 25, 2023

just my idea, can share on Twitter to see if someone is interesting in it.

Hey, yes sure, that would help us a lot!
If someone want to work on it, there is still existing progress for this.
Feel free to help and get rewarded helping us out on this!

@yangwao yangwao closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants