封装搜索、表格、新增表单

This commit is contained in:
qq787203167
2022-01-19 17:53:19 +08:00
parent fa0e712ccf
commit e634323ff3
9 changed files with 744 additions and 2 deletions
+7 -2
View File
@@ -4,7 +4,7 @@ const CompressionPlugin = require("compression-webpack-plugin")
function resolve(dir) {
return path.join(__dirname, dir)
}
const webpack = require('webpack')
// vue.config.js
module.exports = {
/*
@@ -38,7 +38,12 @@ module.exports = {
deleteOriginalAssets: false // 不删除源文件
}))
}
config.plugin('provide').use(webpack.ProvidePlugin, [{
$: 'jquery',
jquery: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
}])
// 配置 webpack 识别 markdown 为普通的文件
config.module
.rule('markdown')