summaryrefslogtreecommitdiff
path: root/examples/with-multiple-frameworks/src/components/VueCounter.vue
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-06-28 10:46:10 -0500
committerGravatar GitHub <noreply@github.com> 2021-06-28 10:46:10 -0500
commit7063c04dec48fcabcda104c42d61642a554f6044 (patch)
treeccc57515b9609f9a211154e2a783ab324ee1b8ed /examples/with-multiple-frameworks/src/components/VueCounter.vue
parent13f50564cb8cfece7857c7b08be064d5e9e9853a (diff)
downloadastro-7063c04dec48fcabcda104c42d61642a554f6044.tar.gz
astro-7063c04dec48fcabcda104c42d61642a554f6044.tar.zst
astro-7063c04dec48fcabcda104c42d61642a554f6044.zip
Restructure examples (#568)
* rename kitchen sink, pull out react example * split out the rest of the examples * align versions * chore: rename examples * chore: normalize gitignore * chore: update package versions * chore: move framework examples to `framework` namespace * docs: add README to examples Co-authored-by: Austin Crim <crim.austin@principal.com>
Diffstat (limited to 'examples/with-multiple-frameworks/src/components/VueCounter.vue')
-rw-r--r--examples/with-multiple-frameworks/src/components/VueCounter.vue27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/with-multiple-frameworks/src/components/VueCounter.vue b/examples/with-multiple-frameworks/src/components/VueCounter.vue
deleted file mode 100644
index 8179fb1d9..000000000
--- a/examples/with-multiple-frameworks/src/components/VueCounter.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-<template>
- <div class="counter">
- <button @click="subtract()">-</button>
- <pre>{{ count }}</pre>
- <button @click="add()">+</button>
- </div>
- <div class="children">
- <slot />
- </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>
h=@astrojs/lit@0.1.2'>@astrojs/lit@0.1.2Gravatar github-actions[bot] 34-73/+76 2022-04-21[ci] formatGravatar matthewp 1-4/+4 2022-04-21Make 'lit' always be bundled in SSR (#3164)Gravatar Matthew Phillips 4-2/+24 2022-04-21[ci] collect statsGravatar FredKSchott 1-0/+1 2022-04-20[ci] formatGravatar natemoo-re 3-8/+8 2022-04-20Improved HMR (#3138)Gravatar Nate Moore 4-16/+51 2022-04-20Revert "Fixes using React.lazy and Suspense"Gravatar Matthew Phillips 20-186/+14 2022-04-20Fixes using React.lazy and SuspenseGravatar unknown 20-14/+186 2022-04-20Add test to verify Lit works in SSR (#3158)Gravatar Matthew Phillips 2-0/+36 2022-04-20Netlify adapter, add --build flag in the readme (#3157)Gravatar Matthew Phillips 1-1/+1 2022-04-20[ci] update lockfile (#3153)Gravatar Fred K. Schott 28-936/+838 2022-04-20[ci] collect statsGravatar FredKSchott 1-0/+1 2022-04-19[ci] release (#3151)astro@1.0.0-beta.14@astrojs/vue@0.1.3@astrojs/vercel@0.1.3@astrojs/solid-js@0.1.2@astrojs/markdown-remark@0.9.2@astrojs/deno@0.1.1Gravatar github-actions[bot] 40-101/+109