summaryrefslogtreecommitdiff
path: root/examples/fast-build/src/components/Greeting.vue
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fast-build/src/components/Greeting.vue')
-rw-r--r--examples/fast-build/src/components/Greeting.vue20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/fast-build/src/components/Greeting.vue b/examples/fast-build/src/components/Greeting.vue
new file mode 100644
index 000000000..69fa4fbca
--- /dev/null
+++ b/examples/fast-build/src/components/Greeting.vue
@@ -0,0 +1,20 @@
+<script>
+export default {
+ data() {
+ return {
+ greeting: 'Hello World!',
+ };
+ },
+};
+</script>
+
+<template>
+ <p class="greeting">{{ greeting }}</p>
+</template>
+
+<style>
+.greeting {
+ color: red;
+ font-weight: bold;
+}
+</style>