No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Steps to migrate from existing Vue CLI project to Quasar CLI.

    CLI
    3
    4
    1121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hpawar last edited by

      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

      metalsadman 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        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

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman @hpawar last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • H
            hpawar last edited by

            Thanks @s-molinari , @metalsadman for your insights…

            1 Reply Last reply Reply Quote 0
            • First post
              Last post