summaryrefslogtreecommitdiff
path: root/examples/fast-build/src/components/Counter.vue
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-03-09 14:38:46 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-09 16:38:46 -0600
commit2906110c04039d5f5bd0e5fb917449e6b001e380 (patch)
tree13d745eee866ac86c302932945fb478b94194663 /examples/fast-build/src/components/Counter.vue
parentc9d84af6b1e451ce464a9280a2e39bfa6a9b798f (diff)
downloadastro-2906110c04039d5f5bd0e5fb917449e6b001e380.tar.gz
astro-2906110c04039d5f5bd0e5fb917449e6b001e380.tar.zst
astro-2906110c04039d5f5bd0e5fb917449e6b001e380.zip
Update tests for legacy build (#2746)
* move fast-build example into a test fixture for legacy build * update tests for legacy build
Diffstat (limited to 'examples/fast-build/src/components/Counter.vue')
-rw-r--r--examples/fast-build/src/components/Counter.vue24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/fast-build/src/components/Counter.vue b/examples/fast-build/src/components/Counter.vue
deleted file mode 100644
index 599bcf615..000000000
--- a/examples/fast-build/src/components/Counter.vue
+++ /dev/null
@@ -1,24 +0,0 @@
-<template>
- <div id="vue" class="counter">
- <button @click="subtract()">-</button>
- <pre>{{ count }}</pre>
- <button @click="add()">+</button>
- </div>
-</template>
-
-<script>
-import { ref } from 'vue';
-export default {
- setup() {
- const count = ref(0);
- const add = () => (count.value = count.value + 1);
- const subtract = () => (count.value = count.value - 1);
-
- return {
- count,
- add,
- subtract,
- };
- },
-};
-</script>