mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-16 07:35:51 +01:00
* Initial create of vuetify2-basic folder * Change template descr of vuetify-basic to say Vuetify 1.5 * Get vuetify2 template installing vuetify v2.0 (but with styling probs) * Update App.vue, HelloWorld.vue for Vuetify v2 * Remove babel-polyfill, add mdi/font * fix: codacy corrections * fix: babel -> core-js, regenerator-runtime Co-authored-by: Michael Hipp <michael@redmule.com> Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
29 lines
534 B
JavaScript
29 lines
534 B
JavaScript
import 'core-js/stable';
|
|
import 'regenerator-runtime/runtime';
|
|
import '@mdi/font/css/materialdesignicons.css';
|
|
import Vue from 'vue';
|
|
import Vuetify from 'vuetify';
|
|
import 'vuetify/dist/vuetify.min.css';
|
|
|
|
Vue.use(Vuetify);
|
|
|
|
import App from './App.vue';
|
|
|
|
Vue.config.productionTip = false;
|
|
Vue.config.devtools = true;
|
|
|
|
import Wails from '@wailsapp/runtime';
|
|
|
|
Wails.Init(() => {
|
|
new Vue({
|
|
vuetify: new Vuetify({
|
|
icons: {
|
|
iconfont: 'mdi'
|
|
},
|
|
theme: {
|
|
dark: true
|
|
}
|
|
}),
|
|
render: h => h(App)
|
|
}).$mount('#app');
|
|
});
|