0.1.47 • Published 2 years ago
ebd-test v0.1.47
组件编写规则
文件名字统一小写,文件中导出组件大写
src
components -- button -- style -- _mixin.scc:当前组件的mixin -- _style.scss: 当前组件的css -- button.tsx -- button,stories.tsx -- index.tsx: 导出组件、组件内定义的props类型
styles -- _mixin.scss: 全局的mixin -- _reboot.scss: Normalization of HTML elements -- _variables.scss: 全局style变量 -- _index.scss: 引入样式 【后期编写组件,组件的样式在这个文件中引入】
0.1.47
2 years ago