goindex-theme-r/src/main.js

23 lines
606 B
JavaScript
Raw Normal View History

2020-04-23 11:46:23 +08:00
import Vue from 'vue'
import App from './App.vue'
2020-04-24 19:43:00 +08:00
import axios from '@utils/axios'
import VueAxios from 'vue-axios'
var styles = [
// 'https://cdn.jsdelivr.net/npm/bulma@0.8.1/css/bulma.min.css',
// 'https://cdn.jsdelivr.net/npm/bulma-tooltip@3.0.2/dist/css/bulma-tooltip.min.css',
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css',
]
styles.forEach(item=>{
document.write(`<link rel="stylesheet" href="${item}">`);
})
2020-04-28 02:16:41 +08:00
document.write('<div id="app"></div>');
2020-04-23 11:46:23 +08:00
Vue.config.productionTip = false
2020-04-24 19:43:00 +08:00
Vue.use(VueAxios,axios)
2020-04-23 11:46:23 +08:00
new Vue({
render: h => h(App),
}).$mount('#app')