summaryrefslogtreecommitdiff
path: root/static/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/app.js')
-rw-r--r--static/js/app.js10
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
+ }
+});