diff options
| author | Yuval Adam <_@yuv.al> | 2017-10-10 16:05:26 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-10-10 16:05:26 +0300 |
| commit | f5738d71ef39eb665b51882eda5d4eb6739209cb (patch) | |
| tree | 2e1314d9139b6cf0a219d93c5c4f1d2e4efc0276 /static/js/app.js | |
| parent | f8da64516051c5607ad9d0dfe710c6870b142ee0 (diff) | |
Basic vue structure
Diffstat (limited to 'static/js/app.js')
| -rw-r--r-- | static/js/app.js | 10 |
1 files changed, 10 insertions, 0 deletions
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: '<div>A custom component!</div>' +}) + +var app = new Vue({ + el: '#app', + data: { + imgs: window.imgs + } +}); |
