diff options
author | 2021-12-30 11:52:22 -0500 | |
---|---|---|
committer | 2021-12-30 11:52:22 -0500 | |
commit | 2e55dc2686b0e2bff2e2ec76c184a17a3d2368c4 (patch) | |
tree | 4a3910fd8297d5dbc8fd5560139b1c3e23be7ebd /examples/fast-build/src/components | |
parent | ae1e61aec8b1c1ce3ebb4e45359151b584adb1c6 (diff) | |
download | astro-2e55dc2686b0e2bff2e2ec76c184a17a3d2368c4.tar.gz astro-2e55dc2686b0e2bff2e2ec76c184a17a3d2368c4.tar.zst astro-2e55dc2686b0e2bff2e2ec76c184a17a3d2368c4.zip |
Revert "Implement hydrated components in the static build (#2260)" (#2292)
* Revert "Implement hydrated components in the static build (#2260)"
This reverts commit ae5255dd25e36da2ce03f515af7b8f1ec6fcac91.
* Adds a changeset
Diffstat (limited to 'examples/fast-build/src/components')
-rw-r--r-- | examples/fast-build/src/components/Counter.vue | 24 |
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> |