From 50f82e1a53ec5329990ee66fe62adba3fcbcb9e6 Mon Sep 17 00:00:00 2001 From: FredKSchott Date: Tue, 20 Jul 2021 04:07:49 +0000 Subject: [ci] yarn format --- examples/framework-vue/astro.config.mjs | 4 +--- examples/framework-vue/src/components/Counter.vue | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 14 deletions(-) (limited to 'examples/framework-vue') diff --git a/examples/framework-vue/astro.config.mjs b/examples/framework-vue/astro.config.mjs index 1fec0a4dd..964aa2145 100644 --- a/examples/framework-vue/astro.config.mjs +++ b/examples/framework-vue/astro.config.mjs @@ -11,7 +11,5 @@ export default { // port: 3000, // The port to run the dev server on. // tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js' }, - renderers: [ - '@astrojs/renderer-vue' - ] + renderers: ['@astrojs/renderer-vue'], }; diff --git a/examples/framework-vue/src/components/Counter.vue b/examples/framework-vue/src/components/Counter.vue index 8179fb1d9..2703b8b9b 100644 --- a/examples/framework-vue/src/components/Counter.vue +++ b/examples/framework-vue/src/components/Counter.vue @@ -1,11 +1,11 @@ @@ -13,15 +13,15 @@ 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; + const count = ref(0); + const add = () => (count.value = count.value + 1); + const subtract = () => (count.value = count.value - 1); return { count, add, - subtract - } - } -} + subtract, + }; + }, +}; -- cgit v1.2.3