Browse Source

📝 docs(mini-shadui-page): update styling documentation

- remove default page background color style
- add note about using tailwindcss classes uniformly
- clarify that index.css can be empty by default
yourname 4 months ago
parent
commit
900818f84b
1 changed files with 1 additions and 4 deletions
  1. 1 4
      .roo/commands/mini-shadui-page.md

+ 1 - 4
.roo/commands/mini-shadui-page.md

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