mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 12:15:02 -07:00
Remove babel-polyfill, add mdi/font
This commit is contained in:
committed by
Travis McLane
parent
ef99dc592b
commit
245f678aa1
@@ -8,14 +8,13 @@
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"core-js": "^2.6.4",
|
||||
"material-design-icons-iconfont": "^5.0.1",
|
||||
"vue": "^2.5.22",
|
||||
"vuetify": "^2.0.15",
|
||||
"@wailsapp/runtime": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mdi/font": "^4.3.95",
|
||||
"@vue/cli-plugin-babel": "^3.4.0",
|
||||
"@vue/cli-plugin-eslint": "^3.4.0",
|
||||
"@vue/cli-service": "^3.4.0",
|
||||
|
||||
@@ -1,20 +1,27 @@
|
||||
import 'babel-polyfill';
|
||||
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';
|
||||
import App from './App.vue'
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
Vue.config.devtools = true;
|
||||
Vue.config.productionTip = false
|
||||
Vue.config.devtools = true
|
||||
|
||||
import Wails from '@wailsapp/runtime';
|
||||
import Wails from '@wailsapp/runtime'
|
||||
|
||||
Wails.Init(() => {
|
||||
new Vue({
|
||||
vuetify: new Vuetify({}),
|
||||
render: h => h(App)
|
||||
}).$mount('#app')
|
||||
});
|
||||
new Vue({
|
||||
vuetify: new Vuetify({
|
||||
icons: {
|
||||
iconfont: 'mdi'
|
||||
},
|
||||
theme: {
|
||||
dark: true
|
||||
}
|
||||
}),
|
||||
render: h => h(App)
|
||||
}).$mount('#app')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user