- remove default page background color style - add note about using tailwindcss classes uniformly - clarify that index.css can be empty by default
@@ -310,13 +310,10 @@ export default definePageConfig({
```
### 4. 样式文件
+统一使用tailwindcss类,index.css为空即可
```css
/* mini/src/pages/[页面名称]/index.css */
-page {
- background-color: #f5f5f5;
-}
-/* 自定义样式 */
## 高级功能模板