From ce79b2a00cdd428aaf67542926fd3c0971fdc553 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Tue, 21 Mar 2017 02:34:16 -0500 Subject: begin using Vue.js --- static/index.html | 11 +++++++++-- static/js/app.js | 6 ++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 static/js/app.js diff --git a/static/index.html b/static/index.html index 6207ac7..0d614a3 100644 --- a/static/index.html +++ b/static/index.html @@ -29,13 +29,18 @@ opacity: 0.9; background-color: white; position: absolute; - top: 5px; + top: 25px; left: 5px; padding-left: 5px; } + #app { display: block; background-color: #888888} +
+ {{ message }} +
+

Upload File

@@ -60,10 +65,12 @@
- + nyan
+ + \ No newline at end of file diff --git a/static/js/app.js b/static/js/app.js new file mode 100644 index 0000000..af25133 --- /dev/null +++ b/static/js/app.js @@ -0,0 +1,6 @@ +var app = new Vue({ + el: '#app', + data: { + message: 'hello, welcome!' + }, +}) \ No newline at end of file -- cgit v1.2.3