diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 20 | ||||
| -rw-r--r-- | src/main.js | 4 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..a8c04d7 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,20 @@ +<script> +export default { + data() { + return { + greeting: 'Hello World!' + } + } +} +</script> + +<template> + <p class="greeting">{{ greeting }}</p> +</template> + +<style> +.greeting { + color: green; + font-weight: bold; +} +</style> diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..01433bc --- /dev/null +++ b/src/main.js @@ -0,0 +1,4 @@ +import { createApp } from 'vue' +import App from './App.vue' + +createApp(App).mount('#app') |
