Open capoia opened 1 year ago
Here is a reference for you
import "vuetify/lib/styles/main.css"
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/lib/components/index.mjs'
import * as directives from 'vuetify/lib/directives/index.mjs'
defineOptions({
prepare(app: App) {
// Use any plugins here:
// app.use
const vuetify = createVuetify({
components,
directives,
})
app.use(vuetify)
}
})
Here is a reference for you
import "vuetify/lib/styles/main.css" import { createVuetify } from 'vuetify' import * as components from 'vuetify/lib/components/index.mjs' import * as directives from 'vuetify/lib/directives/index.mjs'
defineOptions({ prepare(app: App) { // Use any plugins here: // app.use const vuetify = createVuetify({ components, directives, }) app.use(vuetify) } })
@jfl913 Thank you very much for your help, but I still have one doubt:
I managed to make it work on the popup, but not on the contents
Yes, you need to import/define the package in each place.
Hello, I would like to know how to import a library that will be used throughout the project (options / popup / content / CSUI...) example: https://primevue.org/installation/
And another doubt would be how do I import previously created components (.vue), mainly within the CSUI.