添加chapter和lesson

This commit is contained in:
CakeCN
2025-08-29 21:41:20 +08:00
parent 5c0187bc4b
commit f9d8b3d092
19 changed files with 736 additions and 53 deletions

View File

@@ -3,8 +3,10 @@ from .markdown import bp as markdown_bp
from .vscode import bp as vscode_bp
from .auth import bp as auth_bp
from .dashboard import bp as main_bp
from .material import bp as material_bp
def register_blueprints(app: Flask):
app.register_blueprint(markdown_bp) # 默认就是挂在根路径
app.register_blueprint(vscode_bp)
app.register_blueprint(auth_bp)
app.register_blueprint(main_bp)
app.register_blueprint(main_bp)
app.register_blueprint(material_bp)