feat: 添加oxfmt、oxlint格式化

This commit is contained in:
2026-06-01 10:22:41 +08:00
parent 25573d2f68
commit 9b5879c658
14 changed files with 738 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
<script setup lang="ts">
import { ref } from 'vue'
import viteLogo from '../assets/vite.svg'
import heroImg from '../assets/hero.png'
import vueLogo from '../assets/vue.svg'
import { ref } from "vue";
import viteLogo from "../assets/vite.svg";
import heroImg from "../assets/hero.png";
import vueLogo from "../assets/vue.svg";
const count = ref(0)
const count = ref(0);
</script>
<template>
@@ -18,9 +18,7 @@ const count = ref(0)
<h1>Get started</h1>
<p>Edit <code>src/App.vue</code> and save to test <code>HMR</code></p>
</div>
<button type="button" class="counter" @click="count++">
Count is {{ count }}
</button>
<button type="button" class="counter" @click="count++">Count is {{ count }}</button>
</section>
<div class="ticks"></div>