Upgrade guide for 0.14 beta
While we wait for @rstoenescu to issue a complete guide, here’s a starting point for all of us impatient dudes who want to port a 0.13.x app to 0.14.
npm update -g quasar-cli
quasar init 'default#beta' FOLDERNAME(will create a new folder with 0.14beta basics)
- Manually move your 0.13 code into that folder structure. Repeat step 4 once all your dependencies are set up.
- Check the beginners intro and the beta docs, and learn about using components and tree-shaking.
- Go ahead and apply what you learned.
quasar dev: check for any components still missing, adjust imports accordingly, rinse and repeat until your app starts and displays correctly.
To include icons you can now skip the respective CDNs and use quasar-extras, like this:
npm i --save quasar-extras, then use it like this.
If you have used animations in your code, take a look at this.
Since the beta is still being updated several times daily, before running to github or gitter to report a problem, please make sure you have the LATEST 0.14 version by running:
npm update quasar-frameworkfrom within your app folder (same for quasar-extras).
Please note that the single quotes around default#beta are generally optional (they actually need to be removed on Windows), but they are mandatory in some configurations (depends mainly on your shell flavor).
So if u hit problems, try removing the quotes.
I tried step 2 and i got
Failed to download App template @quasarframework/quasar-template-default#beta: HTTPError: Response code 404 (Not Found)
It seems it supposed to be written as
quasar init 'default' FOLDERNAMEbecause i did not get any error.
Is there any reason for that?
@cedrico2015 Yes, there is a very good reason.
Quasar 0.14.2 is now an official release and out of beta :smile:
@spectrolite Both “like this” and “this” link to same animation docs. First one should refer to some docs on icons. Can you give that link please? Thanks!