He did it, but he's a bit of a cheater.
I needed a very fast migration to export a mobile app.
Steps:
- Execute
quasar dev
at least once.
Enter node_modules\@quasar\app\lib\generator.js
and change
const paths = [
'app.js',
'client-entry.js',
'client-prefetch.js',
'import-quasar.js'
]
by
const paths = [
'client-entry.js',
'client-prefetch.js',
'import-quasar.js'
]
Install vuetify npm install vuetify
- Enter
.quasar\app.js
and put your vuetify configuration, in my case:
import es from "vuetify/src/locale/es";
import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css'
const opts = {
theme: {
options: {
customProperties: true
},
themes: {
light: {
primary: "#F79DC2",
secondary: "#02283c",
accent: "#FFAB00",
error: "#a13835",
disabled: "#a13835",
background: "black"
}
}
},
lang: {
locales: { es },
current: "es"
}
};
Vue.use(Vuetify)
Below you have to add
const vuetify = new Vuetify (opts)
const app = {
router,
store,
vuetify, <--------
render: h => h (App)
}
- Enter App.vue and change the main div to
<v-app id = "q-app">
.
.
</v-app>
Working! I hope it works!