python-flask和Vue两种模式初模板

This commit is contained in:
dxc
2026-01-26 17:00:12 +08:00
parent ee9f4aed3e
commit 2f8a5c55b1
36 changed files with 943 additions and 126 deletions

View File

@ -1,6 +1,8 @@
# 文件路径: run.py (在项目根目录下,与 config.py 同级)
from app import create_app
app = create_app()
if __name__ == '__main__':
# debug=True 修改代码后会自动重启
app.run(host='0.0.0.0', port=5000, debug=True)