Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
c2b5f634
Commit
c2b5f634
authored
May 13, 2020
by
Berlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
23ed6132
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
README.md
README.md
+2
-1
No files found.
README.md
View file @
c2b5f634
...
@@ -91,7 +91,7 @@ pip install flask
...
@@ -91,7 +91,7 @@ pip install flask
## 前后端对接流程
## 前后端对接流程
-
在前端项目下使用npm run build命令生成dist文件夹
-
在前端项目下使用npm run build命令生成dist文件夹
(注意生成前需要保证DA-Platform
\D
APlatform-front
\c
onfig
\i
ndex.js 中build的assetsPublicPath为'./'否则可能无法正确显示)
-
将dist文件夹下的static文件夹内容复制到后端static文件夹下
-
将dist文件夹下的static文件夹内容复制到后端static文件夹下
-
将index.html放到templates文件夹下
-
将index.html放到templates文件夹下
-
修改后端DA.PY下的路由即可访问index
-
修改后端DA.PY下的路由即可访问index
\ No newline at end of file
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