瀏覽代碼

📝 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 3 月之前
父節點
當前提交
900818f84b
共有 1 個文件被更改,包括 1 次插入4 次删除
  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. 样式文件
+统一使用tailwindcss类,index.css为空即可
 ```css
 /* mini/src/pages/[页面名称]/index.css */
-page {
-  background-color: #f5f5f5;
-}
 
-/* 自定义样式 */
 ```
 
 ## 高级功能模板