vue-cli init

This commit is contained in:
anjaxs
2020-11-11 22:10:44 +08:00
parent ea4a6be0f7
commit ed76617184
329 changed files with 23142 additions and 2991 deletions

26
webpack.config.js Normal file
View File

@@ -0,0 +1,26 @@
const path = require('path');
module.exports = {
entry: './src/main.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
},
module: {
rules: [
{
test: /\.css$/,
use: [
'style-loader',
'css-loader'
]
},
{
test: /\.(png|svg|jpg|gif)$/,
use: [
'file-loader'
]
}
]
}
};