1
This commit is contained in:
@@ -19,6 +19,38 @@ module.exports = {
|
||||
"camel2DashComponentName": false
|
||||
},
|
||||
'nutui-react-taro'
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
'import',
|
||||
{
|
||||
libraryName: '@nutui/nutui-react-taro',
|
||||
camel2DashComponentName: false,
|
||||
customName: (name, file) => {
|
||||
return `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}`
|
||||
},
|
||||
// 自动加载 scss 样式文件
|
||||
customStyleName: (name) =>
|
||||
`@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style`,
|
||||
// 自动加载 css 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style/css`
|
||||
|
||||
// JMAPP 主题
|
||||
// 自动加载 scss 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jmapp`,
|
||||
// 自动加载 css 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jmapp/css`
|
||||
|
||||
// jrkf 端主题
|
||||
// 自动加载 scss 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jrkf`,
|
||||
// 自动加载 css 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jrkf/css`
|
||||
},
|
||||
'nutui-react',
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
],
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user