diff --git a/files/__main__.py b/files/__main__.py index 451f6a753a..47ffc78fbd 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -123,6 +123,10 @@ def before_request(): elif "Mobile/" in ua: g.system="ios/webview" else: g.system="other/other" +@app.get('/tw') +def get_tailwind(): + return render_template('tailwind.html') + @app.teardown_appcontext def teardown_request(error): if hasattr(g, 'db') and g.db: diff --git a/files/templates/tailwind.html b/files/templates/tailwind.html new file mode 100644 index 0000000000..0bbeaa4851 --- /dev/null +++ b/files/templates/tailwind.html @@ -0,0 +1,17 @@ + + + + + + + + {% assets 'css' %} + + {% endassets %} + + Flask + Tailwind CSS + + +

hello world

+ + \ No newline at end of file