From 99dd10772422b66b7f98f1483b5fa3225e3e86e0 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sat, 24 Dec 2016 11:50:57 +0800
Subject: Basic setup for Vue app

---
 public/js/components/HelloWorld.vue | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 public/js/components/HelloWorld.vue

(limited to 'public/js/components/HelloWorld.vue')

diff --git a/public/js/components/HelloWorld.vue b/public/js/components/HelloWorld.vue
new file mode 100644
index 00000000..d8e3007f
--- /dev/null
+++ b/public/js/components/HelloWorld.vue
@@ -0,0 +1,21 @@
+<template>
+  <h1>{{ message }}</h1>
+</template>
+
+<script>
+export default {
+  name: 'HelloWorld',
+
+  data() {
+    return {
+      message: 'Hello Vue'
+    }
+  }
+}
+</script>
+
+<style scoped>
+h1 {
+  color: blue;
+}
+</style>
-- 
cgit v1.2.3

