Install element normally
Just enter
vue add element
However, the following errors may occur:
If the error report shows that it is a node-sass problem, change the second option to no, that is, do not introduce the SCSS of element
Perfect solution
But remember to add the following code to the main file later:
import ‘element-ui/lib/theme-chalk/display.css’
It is to directly introduce the CSS of the element
Read More:
- Vue3 + vite install element-plus error [How to Solve]
- VUE: How to Solve NPM Always Install Error
- Vue Import element-plus Error: Failed to resolve import “element-pluslibtheme-chalkindex.css“ from “src
- How to Solve “Vue is not defined” Error
- Vue element component V-for error [How to Modify)
- [Solved] Vue3 Import element UI error: Uncaught TypeError: Cannot read properties of underfined…
- How to Solve Vue cli configuration SCSS global variable error
- Vue3.0 error: Failed to resolve component el-form-item (el element to be unable to be displayed)
- [Solved] ERROR in ./node_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf
- How to Solve Vue loading 3D model Error
- Vue warn]: vue3 element Component emit Pass Event Error
- How to Solve npm-install Command -4048 Error
- How to Solve Vue3 jweixin-module Error
- How to Solve Vue editor bridge error
- How to Solve Vue project Startup Error (Node Upgrade issue)
- How to Solve Vue cli syntax Close Error
- Vue: How to Solve Eslint error
- How to Solve @Vue/cli3.X Using less Error
- How to Solve Vue3 Import lodash error
- How to Solve VUE Error: Mixed spaces and tabs