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'
|
2020-05-02 01:25:28 +08:00
|
|
|
import router from './router'
|
2020-04-24 19:43:00 +08:00
|
|
|
|
|
|
|
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',
|
2020-05-02 01:25:28 +08:00
|
|
|
'https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css',
|
|
|
|
'https://cdn.jsdelivr.net/npm/font-awesome-animation@0.2.1/dist/font-awesome-animation.min.css',
|
|
|
|
'https://cdn.jsdelivr.net/npm/bulma-pageloader@0.3.0/dist/css/bulma-pageloader.min.css'
|
2020-04-24 19:43:00 +08:00
|
|
|
]
|
|
|
|
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({
|
2020-05-02 01:25:28 +08:00
|
|
|
router,
|
2020-04-23 11:46:23 +08:00
|
|
|
render: h => h(App),
|
|
|
|
}).$mount('#app')
|