We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7091b81 commit f5cb72dCopy full SHA for f5cb72d
packages/taro-ui-docs/markdown/quickstart.md
@@ -74,8 +74,8 @@ npm i babel-plugin-import -D
74
'import',
75
{
76
libraryName: 'taro-ui',
77
- customName: name => `taro-ui/lib/components/${name.split('-')[1]}`,
78
- customStyleName: name => `taro-ui/dist/style/components/${name.split('-')[1]}.scss`
+ customName: name => `taro-ui/lib/components/${name.slice(3)}`,
+ customStyleName: name => `taro-ui/dist/style/components/${name.slice(3)}.scss`
79
},
80
'taro-ui'
81
]
0 commit comments