From f5738d71ef39eb665b51882eda5d4eb6739209cb Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 10 Oct 2017 16:05:26 +0300 Subject: Basic vue structure --- static/js/app.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 static/js/app.js (limited to 'static/js/app.js') diff --git a/static/js/app.js b/static/js/app.js new file mode 100644 index 0000000..a4eee52 --- /dev/null +++ b/static/js/app.js @@ -0,0 +1,10 @@ +Vue.component('root', { + template: '
A custom component!
' +}) + +var app = new Vue({ + el: '#app', + data: { + imgs: window.imgs + } +}); -- cgit v1.3.1