Commit e87cd2b3 authored by 夏敏伟's avatar 夏敏伟

增加readme备注

parent 25a79537
...@@ -10,3 +10,10 @@ npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass ...@@ -10,3 +10,10 @@ npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
才能安装成功sass 才能安装成功sass
### 安装环境 ### 安装环境
node版本14版本 node版本14版本
### 打包需要文件
webpack.config.js 改为template: path.resolve(__dirname, './onlyoffice/prod.html')
src/constant/user
export const MAIL_ADDRESS = "http://6.1.22.93:8000";
export const MAIL_MANAGER_ADDRESS = "http://6.1.22.93:8010";
export const MAIL_DOMAIN = "zyyt.com"
...@@ -30,8 +30,8 @@ module.exports = { ...@@ -30,8 +30,8 @@ module.exports = {
favicon: path.join('static/img/favicon.ico') favicon: path.join('static/img/favicon.ico')
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: path.resolve(__dirname, './onlyoffice/dev.html'), // template: path.resolve(__dirname, './onlyoffice/dev.html'),
// template: path.resolve(__dirname, './onlyoffice/prod.html'), template: path.resolve(__dirname, './onlyoffice/prod.html'),
filename: 'onlyoffice.html', filename: 'onlyoffice.html',
inject: 'body', inject: 'body',
chunks: ['onlyoffice'], chunks: ['onlyoffice'],
......
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