集成Prettier和Stylelint
This commit is contained in:
19
src/App.vue
19
src/App.vue
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user