@@ -5,6 +5,7 @@ import store from './store'
import i18n from './locale/index'
import 'virtual:svg-icons-register'
import 'virtual:uno.css'
+import '@/style/index.scss'
export function createApp() {
const app = createSSRApp(App)
@@ -5,7 +5,11 @@
</route>
<template>
- <view class="text-green-500 text-center">分包页面demo</view>
+ <view class="text-center">
+ <view class="m-8"> http://localhost:9000/#/pages-sub/demo/index </view>
+ <view class="text-green-500"> 分包页面demo </view>
+ <view class="test">test global css</view>
+ </view>
</template>
<script lang="ts" setup>
@@ -0,0 +1,4 @@
+.test {
+ margin-top: 4px;
+ color: red;
+}