alice-yourmodule

发布时间:2026/8/7 20:08:15
alice-yourmodule alice-yourmodule【免费下载链接】aliceui.github.io写样式的一种方式项目地址: https://gitcode.com/gh_mirrors/al/aliceui.github.io带描述的样式模块示例演示文档relstylesheet hrefyourmodule.css默认用法div classui-yourmodule div classui-yourmodule-content内容区域/div /div 参考官方模块文档[widget.md](https://link.gitcode.com/i/8696894e736fd8ff679c72d6f0b70fb9) ### 3. 编写CSS样式 将index.js重命名为yourmodule.css遵循AliceUI命名规范 - 使用ui-前缀作为命名空间 - 采用BEM命名约定Block__Element--Modifier - 灵活运用工具类如fn-clear清除浮动 开发时可运行spm doc启动本地调试服务访问http://127.0.0.1:8000实时预览效果。 ### 4. 构建与测试 完成开发后执行构建 bash $ spm build【免费下载链接】aliceui.github.io写样式的一种方式项目地址: https://gitcode.com/gh_mirrors/al/aliceui.github.io创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考