rename frontend directory
This commit is contained in:
1 parent
f870869d47
commit
c8b86927e2
36 files changed
+4
-10
No files matched your search
@@ -12,10 +12,7 @@ install: venv
|
|||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
web: frontend-vue/dist/index.html
|
web: frontend/dist/index.html
|
||||||
|
|
||||||
#frontend/build/web/index.html: $(shell find frontend/lib -name '*.dart')
|
frontend/dist/index.html: $(shell find frontend/src -name '*.vue' -or -name '*.js*' -or -name '*.css*') frontend/index.html
|
||||||
# cd frontend && flutter build web --release --source-maps --no-web-resources-cdn
|
cd frontend && npm run build
|
||||||
|
|
||||||
frontend-vue/dist/index.html: $(shell find frontend-vue/src -name '*.vue' -or -name '*.js*' -or -name '*.css*') frontend-vue/index.html
|
|
||||||
cd frontend-vue && npm run build
|
|
||||||
+1
-4
@@ -7,11 +7,8 @@ import json
|
|||||||
import asyncio
|
import asyncio
|
||||||
import nest_asyncio
|
import nest_asyncio
|
||||||
|
|
||||||
# Flutter frontend
|
|
||||||
#frontend_path = '../frontend-flutter/build/web'
|
|
||||||
|
|
||||||
# Vue frontend
|
# Vue frontend
|
||||||
frontend_path = '../frontend-vue/dist'
|
frontend_path = '../frontend/dist'
|
||||||
|
|
||||||
def start_server(app):
|
def start_server(app):
|
||||||
server = Quart(__name__, static_folder=frontend_path)
|
server = Quart(__name__, static_folder=frontend_path)
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user