Commit 49e8eb02 authored by 何虹's avatar 何虹 💬

本次提交的说明

parent cfdd0bfe
......@@ -31,6 +31,7 @@
"script-loader": "^0.7.2",
"sortablejs": "^1.12.0",
"style-loader": "^2.0.0",
"url-loader": "^4.1.1",
"vue": "^2.6.11",
"vue-video-player": "^5.0.2",
"xlsx": "^0.16.9"
......
import Vue from 'vue'
import ElementUI from 'element-ui'
Vue.use(ElementUI)
import 'element-ui/lib/theme-chalk/index.css'
const requireComponent_ = require.context('./', true, /index.vue$/)
const obj = {}
const install = function(Vue) {
......
......@@ -60,6 +60,15 @@ module.exports = {
options: {
name: '[name].[ext]?[hash]'
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: 'fonts/[name].[hash:7].[ext]'
// name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment