-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Plan for Vue CLI v5 #6064
Comments
Do we choose to drop extension less SFC imports even for webpack projects or only on vite? |
Even for webpack projects. There are edge cases in webpack environment too: #5307 |
mark |
If possible, please update |
|
These are not major design changes, so can be reserved for later minor releases. The last one is easy, though. I'll take a look if time permits. |
Yeah, I'm working on that. |
It will be included in the final release. |
Can we add |
Can we address #4801 ? It could mean enabling service worker in development mode, which seems to be a major change. Thanks |
Try to achieve this feature, but block by issue import-js/eslint-plugin-import#883 sync |
Can we add |
sometimes it cannot auto import reactive api, like type ref , it can't auto import or using quickfix |
when init the project, if choose typescript template, add |
FYI v5.0.0-alpha.0 has been released with most underlying dependencies updated. We'll work on the planned new features next. |
Is module federation supported for multiple pages / build targets? |
ES feature support in v5: #5881 ? I created a brand new project using v5 alpha, but it doesn't work |
Use the online presets(ajax?or other ways), not just from a Git repo! I dont want to create a repo just for a single preset ! |
When is the official version expected to be released? |
#2138 |
When is the official version expected to be released? |
Respecting the XDG specification shouldn't be listed as a breaking change, Vue could always fallback to legacy paths if the XDG ones (or their fallbacks) fail, I've just updated my issue #5649 regarding the matter. |
Hi @sodatea , can the alpha version work now? I just created a new project using
Here is the action log: https://github.com/Mister-Hope/vue3-template/runs/1924113080 |
The error comes from an incompatibility between webpack 5.22.0 (that was just released) and the This can be fixed by setting your webpack version to The proper fix is to update the html-webpack plugin to v5.1.0 (see jantimon/html-webpack-plugin#1603) . This has already been done by @sodatea in Vue CLI (see 4ce7edd), and will be out in the next release! |
What happens to v5 if this project is now in maintenance mode? Or is |
Regarding the v5 stable release:
|
I think one important thing that is still missing from v5.rc is the typechecking of script-setup sfcs. |
If |
@sodatea You said new projects should use BTW, I've just checked |
You can keep using Vue CLI if you prefer webpack. It's still being maintained. But Vite and |
@sodatea Thanks for the explanation. For anyone out there still wondering what is going on and why there is no documentation, well... here's the new documentation at staging.vuejs.org which is currently kind of "hidden" and will most probably become the official vuejs.org |
@sodatea Waiting patiently for the next Vue CLI 5 RC / stable version... I'm not ready to switch to Vite/create-vue for production yet (I've invested too much in webpack). |
For anyone feels missed with vue-ecosystem please, keep in mind what now vue is more easily to develop and deploy than vue 1 is launched, so to a bunch of reasons: vite is more simplest, lazy, fast way to develop, deploy and delivery like vue-cli do in the past, IMHO the vite not need a large list to reasoning with devs about why adopt vite over the vue-cli, reading the vite documentation is enough to understand the fact: now the things is more simple than the past, so trust in vue-core, we understand a lot what vue community needs to improves our jobs ❤️ ps* i like so much and use vue-cli for 4 years, but we had to admit, the evolution what vite take to development process is incredible and this is like technology works 🙂 |
@lpj145 Dude... I read that twice... now my brain hurts. |
@lorand-horvath i don't know why, if my words feels aggressive don't worry, so if the fact of vite is now the boss, for me is like train passing above me, but it's life 🤣🤣 |
@sodatea Vite doesn’t have support for async web component target builds like vue-cli currently supports. My project couldn’t switch to Vite even if we wanted to. Was really looking forward to a stable release that supports webpack v5 and vue3z |
According to the last RC. v5 will be stable next week if there are no major regressions found. |
@jfuehner One more reason to stay with @vue/cli based on webpack. Problem is, there's such a big push towards vite, mainly because it's faster. |
@lorand-horvath, I would love to switch to vite if it had support for async web components. I opened a discussion thread on the vite repo a year ago requesting the feature. |
v5.0.1 released. There are still a few features that I wish I could add to this release but haven't finished (e.g. creating new projects with ESLint 8). But anyway, this new major version is stable and ready for use. Please enjoy. |
@sodatea Thank you for all your hard work on the project. |
@sodatea THANK YOU |
@sodatea thx |
Thank you so much @sodatea, it's always stressful maintaining an open source project so many people rely on and it so often goes unappreciated. But speaking on behalf of the thousands of people who haven't even stumbled on this thread, thank you for helping improve our lives as developers! |
@sodatea we have updated the vue-cli version to 5.0.1 version for an existing project. This throws below error. ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
|
|
@yoyo837 Do we need to install webpack-dev-server? Because in our project we are not explicitly installed any webpack packages. |
No, stop "in our project" why don't you check the lock file and see if you are actually using any webpack packages or not? Webpack is exactly which vue-cli is based on. The issue panel is not a place like stackoverflow. So that "Basic and simple questions" and "asking for help" is not welcomed here as you are actually noticing a lot of people on this tread. Try asking for help in vue forums or stackoverflow. I DO think that it's ok for you to find problems and post here for the first time, but after someone already told you that this is not a issue and provide you the reson, please try to understand yourself. If you still don't get it, try to ask for help in Discussion For now, you are annoying me as one of the 59 people. |
Here are the rough ideas:
Major Dependency Upgrades
Planned New Features
AThe--transpile-all
CLI flag to includenode_modules
for transpiration, as a fail-safe for thetranspileDependencies
option.transpileDependencies
option can be set totrue
to transpile all dependencies innode_modules
. It should be the recommended way to build your app, especially when you are using webpack 5, as the compilation overhead should be tolerable with the persistent cache.modern-only
andno-modern
CLI optionspolyfills
chunk by defaultbrowserslist
integration. For example,safari-no-module-fix
can be dropped whenbrowserslist
config does not target those buggy browsers.Changed Behaviors
vue serve/build
will be an alias ofnpm run serve/build
. If an entry is designated and nopackage.json
found, it’ll prompt to usevite
(Vue 3) orparcel
(Vue 2) for instant prototyping instead.Dropped Features
node-sass
Other Breaking Changes Under Consideration
The text was updated successfully, but these errors were encountered: