mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
fix(docs): fix wrong method name in quickstart.md (#1729)
Hi! There is a mistake in doc's, you used the wrong method, method `slice` will be correct.
This commit is contained in:
parent
fe3807b4f7
commit
1ab50ded03
@ -129,7 +129,7 @@ export default defineConfig({
|
||||
libs: [{
|
||||
libraryName: 'element-plus',
|
||||
resolveStyle: (name) => {
|
||||
name = name.splice(3)
|
||||
name = name.slice(3)
|
||||
return `element-plus/packages/theme-chalk/src/${name}.scss`;
|
||||
},
|
||||
resolveComponent: (name) => {
|
||||
|
Loading…
Reference in New Issue
Block a user