Add files via upload
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
import { createApp } from 'vue';
|
||||
import { createVuetify, ThemeDefinition } from "vuetify";
|
||||
import { md2 } from 'vuetify/blueprints';
|
||||
// import { VDataTable } from 'vuetify/labs/VDataTable'
|
||||
|
||||
const myTheme: ThemeDefinition = {//untuk mengatur tema terang atau gelap
|
||||
dark:true,
|
||||
colors:{
|
||||
primary:"#3b82f6",
|
||||
}
|
||||
}
|
||||
|
||||
export default defineNuxtPlugin((app) => {
|
||||
|
||||
const vuetify = createVuetify({
|
||||
ssr: true,
|
||||
blueprint: md2,
|
||||
// components:{VDataTable},
|
||||
defaults:{
|
||||
VTextField:{
|
||||
variant:"outlined",
|
||||
color:"primary",
|
||||
},
|
||||
},
|
||||
theme:{
|
||||
defaultTheme: "myTheme",
|
||||
themes:{
|
||||
myTheme,
|
||||
},
|
||||
},
|
||||
icons:{
|
||||
defaultSet: 'custom',
|
||||
sets:{
|
||||
custom
|
||||
},
|
||||
aliases,
|
||||
}
|
||||
});
|
||||
|
||||
app.vueApp.use(vuetify);
|
||||
});
|
||||
Reference in New Issue
Block a user