diff --git a/website/docs/en-US/quickstart.md b/website/docs/en-US/quickstart.md index 6419e468e5..f7941d8699 100644 --- a/website/docs/en-US/quickstart.md +++ b/website/docs/en-US/quickstart.md @@ -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) => {