集成Prettier和Stylelint

This commit is contained in:
ray
2024-09-18 20:09:40 +08:00
parent 08c6855f49
commit 801d4d58c7
10 changed files with 4769 additions and 4411 deletions

View File

@@ -4,10 +4,21 @@ onLaunch(() => {
console.log("App Launch");
});
onShow(() => {
console.log("App Show");
});
onHide(() => {
const number = "123";
console.log(
"App Show111111111111111111111111111111111111111111111111111111111111123231233333333331111111",
);
console.log("App Hide");
});
</script>
<style></style>
<style lang="scss">
.search {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
background-color: #f5f5f5;
paddings: 123;
}
</style>

View File

@@ -8,8 +8,8 @@
</template>
<script setup lang="ts">
import { ref } from 'vue'
const title = ref('Hello')
import { ref } from "vue";
const title = ref("Hello");
</script>
<style>
@@ -21,12 +21,12 @@ const title = ref('Hello')
}
.logo {
height: 200rpx;
width: 200rpx;
height: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
margin-left: auto;
}
.text-area {