Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏敏伟
xxx_phase2_web
Commits
e87cd2b3
Commit
e87cd2b3
authored
Mar 28, 2024
by
夏敏伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加readme备注
parent
25a79537
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
README.md
README.md
+8
-1
webpack.config.js
webpack.config.js
+2
-2
No files found.
README.md
View file @
e87cd2b3
...
...
@@ -10,3 +10,10 @@ npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
才能安装成功sass
### 安装环境
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"
webpack.config.js
View file @
e87cd2b3
...
...
@@ -30,8 +30,8 @@ module.exports = {
favicon
:
path
.
join
(
'
static/img/favicon.ico
'
)
}),
new
HtmlWebpackPlugin
({
template
:
path
.
resolve
(
__dirname
,
'
./onlyoffice/dev.html
'
),
//
template: path.resolve(__dirname, './onlyoffice/prod.html'),
//
template: path.resolve(__dirname, './onlyoffice/dev.html'),
template
:
path
.
resolve
(
__dirname
,
'
./onlyoffice/prod.html
'
),
filename
:
'
onlyoffice.html
'
,
inject
:
'
body
'
,
chunks
:
[
'
onlyoffice
'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment