-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
@quasar/app v2 RFC #7148
Comments
Great news! Will there be something planned about Vue 3 compatibility ? |
Sorry, misinformation on this one. QApp v2.0 won't be incorporating Vue 3. That'll be QApp v3.0 (As it stands at the moment). |
We are waiting for the final Vue 3 build and we will start working towards Quasar 2.0 which will be written using Vue 3. |
Current stage: internal testing |
Planned release: |
After thinking about it, we may have missed the point of the modern build or modern mode. The point of having a modern mode, like with the Vue CLI, is to be able to distribute 2 versions of the application files. And omitting this, is equivalent to just setting the browserlist with the version of the browsers that support it. At then end, the purpose of modern mode, it to make your application compatible with the vast majority of browsers without impacting the new ones too much. What do you think @rstoenescu ? |
@J3m5 The two versions trick may have had a lot more sense in the past than the present times. Nowadays, almost all browsers run with modern JS standards. It's exceptions like IE11 (~1% of global marketshare) which make our work harder. It just doesn't makes sense at the moment to invest in the double versions support (which is fading its usefulness with each day passing -- and would also double the build time) when there's other much more useful things on our plate, like the auto-routing or new UI components and directives. |
That's what I'm thinking too, just wanted to be sure. |
@rstoenescu |
@ibrainventures unfortunately, this is based entirely on webpack. And webpack 4 is using an old parser. However, the great new thing about q/app v2 is that now you can use Babel again and it will look at package.json > browserslist to determine what JS feature actually needs transpiling. Your code will no longer dumb down to ES5 automatically (unless you use a browserslist query that forces support for ES5-only browsers like IE11). Should you need additional babel plugins (for stage X features), you can supply them in babel.config.js -- the end result being Babel will transpile before Webpack handles the file. Should you want to maintain what we called "modern build" in q/app v1, it is sufficient to edit quasar.conf.js > build > transpile: false, but in this case we are yet again at the mercy of Webpack's parser. |
@rstoenescu (rulesets) (es-6 features) |
It's in the browsers support docs page which is linked from the release notes and also the upgrade guide. |
Thanks a lot for all your work @rstoenescu I love the framework so much. I really do not understand why Quasar 2.14.1 does not transpile to ES5 I force browserList to do so:
I still get let and const. I just need to try something to see to ES5 would perform. We have a lot of weird browsers lately and I migrated to Quasar but the old site on vanillaJS sells better than fancy Quasar V2 + Vue3, so It's really sad. |
Below are the features and upgrades that are currently planned for "@quasar/app" v2. Target is to take 5 minute max to upgrade any project to it.
This list will keep getting updated.
The text was updated successfully, but these errors were encountered: