Steps to migrate from existing Vue CLI project to Quasar CLI.
-
Hi,
I currently have a Vue project created using Vue CLI to which I added Quasar using vue add Quasar command. Now I plan to migrate to Quasar CLI. I saw a post that tells briefly how to do so. (https://forum.quasar-framework.org/topic/5585/how-to-migrate-from-vue-cli)In the vue CLI project, I installed quasar CLI using npm install -g @quasar/cli. But I didn’t see quasar.conf.js file being created. I believe it gets created on creating a new project using quasar CLI.
If the above approach is not the right way to go, then do I need to create a new project and manually copy my files to the newly created quasar CLI project?
Can someone please tell me the steps to follow for this migration?
Thanks
-
If the above approach is not the right way to go, then do I need to create a new project and manually copy my files to the newly created quasar CLI project?
When you do
npm install -g @quasar/cli
, you are globally installing Quasar’s CLI on your computer. It has nothing to do with your Vue project.So, yes, you now have to run
quasar create my-new-project
and then transfer your files over to the new Quasar project.Scott
-
@hpawar said in Steps to migrate from existing Vue CLI project to Quasar CLI.:
If the above approach is not the right way to go, then do I need to create a new project and manually copy my files to the newly created quasar CLI project?
yep, it’s also suggested for migrating pre v1 projects to v1.
-
Thanks @s-molinari , @metalsadman for your insights…