Skip to content

Commit

Permalink
fix: 修复App.vue缺少scss声明导致引入scss报错
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 28, 2024
1 parent 47d0d70 commit f6b0cd6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions uni-app-x/App.uvue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="uts">
let firstBackTime = 0
let firstBackTime = 0
import { loadFont } from '@/uni_modules/uview-plus/index.uts'
export default {
onLaunch: function () {
console.log('App Launch')
console.log('App Launch')
loadFont()
},
onShow: function () {
Expand Down Expand Up @@ -36,7 +36,10 @@
}
</script>

<style> /*@import "@/uni_modules/uview-plus/index.scss";*/ @import "common/demo.scss";
<style lang="scss">
@import "@/uni_modules/uview-plus/index.scss";
@import "@/common/demo.scss";

/*每个页面公共css */
.uni-row {
flex-direction: row;
Expand Down

0 comments on commit f6b0cd6

Please sign in to comment.