Migrate project Vue3 to Quasar... #16853
Replies: 3 comments 2 replies
-
Hello If you have a Vite project with the Vue plugin, then I would suggest adding Quasar to your project by using Vite plugin for Quasar. Eventually, after you complete migrating the UI over, you may consider if you want to use Quasar CLI (with Vite or Webpack) for its extra benefits. If you decide to go that way, you will only have to make file/config reorganizations at that point. The easiest/clearest way is usually to scaffold a new CLI project, then copy over the Vue/js/ts/etc. files from the other project, but it's not necessarily required. However, if your project doesn't have a convoluted build step and you want to invest in Quasar, you can go the CLI way directly. You can create a new Quasar CLI project, copy your files over, make small changes, and call it a day. Your Vue 3 files that are not using Quasar components will still work. You can progressively convert them to use Quasar components/directives/plugins/utils. Good luck with the migration! |
Beta Was this translation helpful? Give feedback.
-
Woow, excellent answer!!! I need time to digest all the options.... but, I think that the best option is the last, go the CLI way directly... Thank you, very much |
Beta Was this translation helpful? Give feedback.
-
we have finally chosen Vite Plugin for Quasar and all tests for migrations are very good except that we have a conflict with the CSS of another library: PrimeVue and to do that the components of quasar do not render ok. Is it possible to exclude this import in quasar layout/page/components? Do you have any recommendations about how to deal with this type of conflict? main.ts ...
...
// Styles for PrimeVue
import '@/assets/styles.scss'
import App from './App.vue'
import router from './router/index'
const app = createApp(App) Thanks in advance.... |
Beta Was this translation helpful? Give feedback.
-
Hello guys
Our company has a project built with Vue 3, but we need to start migrating this project to Quasar, then I have some doubts:
Anything idea is welcome...
Thank you in advance...
Beta Was this translation helpful? Give feedback.
All reactions