File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
src/sites/sites-react/doc/docs Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -280,11 +280,24 @@ babel 配置:
280280 customName : (name , file ) => {
281281 return ` @nutui/nutui-react/dist/es/packages/${ name .toLowerCase ()} `
282282 },
283+ // 默认主题
283284 // 自动加载 scss 样式文件
284285 customStyleName : (name ) =>
285286 ` @nutui/nutui-react/dist/es/packages/${ name .toLowerCase ()} /style` ,
286287 // 自动加载 css 样式文件
287288 // customStyleName: (name) => `@nutui/nutui-react/dist/es/packages/${name.toLowerCase()}/style/css`
289+
290+ // B 端主题
291+ // 自动加载 scss 样式文件
292+ // customStyleName: (name) => `@nutui/nutui-react/dist/es/packages/${name.toLowerCase()}/style-jmapp`,
293+ // 自动加载 css 样式文件
294+ // customStyleName: (name) => `@nutui/nutui-react/dist/es/packages/${name.toLowerCase()}/style-jmapp/css`
295+
296+ // jkrf 端主题
297+ // 自动加载 scss 样式文件
298+ // customStyleName: (name) => `@nutui/nutui-react/dist/es/packages/${name.toLowerCase()}/style-jkrf`,
299+ // 自动加载 css 样式文件
300+ // customStyleName: (name) => `@nutui/nutui-react/dist/es/packages/${name.toLowerCase()}/style-jkrf/css`
288301 },
289302 ' nutui-react' ,
290303 ],
Original file line number Diff line number Diff line change @@ -209,6 +209,18 @@ module.exports = {
209209 ` @nutui/nutui-react-taro/dist/es/packages/${ name .toLowerCase ()} /style` ,
210210 // 自动加载 css 样式文件
211211 // customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style/css`
212+
213+ // B 端主题
214+ // 自动加载 scss 样式文件
215+ // customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jmapp`,
216+ // 自动加载 css 样式文件
217+ // customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jmapp/css`
218+
219+ // jkrf 端主题
220+ // 自动加载 scss 样式文件
221+ // customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jkrf`,
222+ // 自动加载 css 样式文件
223+ // customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jkrf/css`
212224 },
213225 ' nutui-react' ,
214226 ],
You can’t perform that action at this time.
0 commit comments