Home > Software design >  Vue 2 with Quasar
Vue 2 with Quasar

Time:01-20

I am starting new project with Vue 2 and Quasar. I am doing this npm install -g @quasar/cli , then quasar create app-name. Quasar creates an application, but when I open some components,there is setup(){ } function. As I know it is a composition API feature and only in Vue 3. My vue-cli version is 4.5.15. How can I install Quasar, and start with Vue 2?

CodePudding user response:

You can use an older Quasar version, try using the package @quasar/[email protected]

CodePudding user response:

you can use:

quasar create <folder_name> --branch v1
  •  Tags:  
  • Related