Starting work on frontend.
This commit is contained in:
parent
679433525c
commit
7e915423a3
4 changed files with 60 additions and 5 deletions
0
inventory/routes/__init__.py
Normal file
0
inventory/routes/__init__.py
Normal file
10
inventory/routes/index.py
Normal file
10
inventory/routes/index.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from flask import Blueprint, request, jsonify, render_template
|
||||
|
||||
bp_index = Blueprint("index", __name__)
|
||||
|
||||
def init_index_routes(app):
|
||||
@bp_index.get("/")
|
||||
def index():
|
||||
return render_template("base.html")
|
||||
|
||||
app.register_blueprint(bp_index)
|
||||
Loading…
Add table
Add a link
Reference in a new issue