Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit 4c83702

Browse files
committed
style: Use setup script for dev
1 parent 9b3099b commit 4c83702

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

dev/serve.vue

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,11 @@
44
</div>
55
</template>
66

7-
<script lang="ts">
8-
import { defineComponent, ref } from 'vue';
7+
<script lang="ts" setup>
8+
import { ref } from 'vue';
99
import Vue3DatePicker from '@/Vue3DatePicker/Vue3DatePicker.vue';
1010
11-
export default defineComponent({
12-
name: 'ServeDev',
13-
components: {
14-
Vue3DatePicker,
15-
},
16-
setup() {
17-
const selectedDate = ref();
18-
19-
return {
20-
selectedDate,
21-
};
22-
},
23-
});
11+
const selectedDate = ref();
2412
</script>
2513

2614
<style lang="scss">

0 commit comments

Comments
 (0)