-
Notifications
You must be signed in to change notification settings - Fork 57
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
Vue3 upgrade: migrate Vue CLI / Webpack to Vite #13658
Comments
@seeker25 Do you have any comments on the following...
|
|
@jdyck-fw @Mihai-QuickSilverDev @davemck513 I'd like to groom this (or timebox it to a 3) and bring it in to the next sprint. cc: @JazzarKarim FYI |
Tentatively tagged to next sprint. |
See this PR for possible sample Vite packages and config: |
From July 6 Vue3 meeting: (Rollup replaces Webpack, but some Webpack files may be needed to resolve TS errors. Talk to @thorwolpert about this.) |
For Reference, you can find everything below in this PR: bcgov/business-create-ui#556 Vite
How does it pull it off?
Steps for our UIs:Remove:
Install Vite, vite plugin for vue 2, and vitest:
Provide support only for modern browsers:
Add Vite config file:
Index.HTML
Package.json scripts.
Now it's npm run dev not serve to run development server Environment variables
Notes:
I got lots and lots of errors. This is the summary of the errors fixed:
|
Follow-up ticket: #17118 |
@Mihai-QuickSilverDev @davemck513 Although there is some follow-up work, this ticket has accomplished its intended purpose, so I propose we close it. |
Karim said he was interested in working on this one.
Vite is recommended for Vue3 + Typescript (ref).
Vite is compatible with Vue2 (ref).
So, we should upgrade ASAP to make our future lives easier.
try it with one of the Entity UIs (Filings/Create/Edit)Will be handled in Create UI - Implement what's left of Vue CLI migration to Vite #17118The text was updated successfully, but these errors were encountered: