diff options
author | Yukai Huang | 2016-12-26 03:38:07 +0000 |
---|---|---|
committer | Yukai Huang | 2016-12-26 03:38:07 +0000 |
commit | 1e276fb37a4ed8e19234de7192d8593314f53799 (patch) | |
tree | 4bd08869984692cc6b914bc602ecb0bb452e8b61 /public/js/components | |
parent | 8cf849e825e96510c064479bbf89b595e6728511 (diff) | |
parent | 99dd10772422b66b7f98f1483b5fa3225e3e86e0 (diff) |
Merge branch 'Yukai/#3-vue-setup' into 'frontend-next'
Vue setup
See merge request !2
Diffstat (limited to '')
-rw-r--r-- | public/js/components/HelloWorld.vue | 21 |
1 files changed, 21 insertions, 0 deletions
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> |