feat(app): scaffold Vue3 frontend (stage 1)
This commit is contained in:
17
templates/app.html
Normal file
17
templates/app.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
<title>知识管理平台</title>
|
||||
{% for css_file in app_spa_css_files %}
|
||||
<link rel="stylesheet" href="{{ url_for('serve_static', filename=css_file) }}" />
|
||||
{% endfor %}
|
||||
</head>
|
||||
<body>
|
||||
<noscript>该页面需要启用 JavaScript 才能使用。</noscript>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="{{ url_for('serve_static', filename=app_spa_js_file) }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user