echarts-examples
echarts-examples copied to clipboard
upgrade: Migrate to Vue 3
- Upgrade dependencies to Vue 3, vue-loader 17, element-plus and vue-i18n in package.json
- Update public HTML files to use Vue 3 and Element Plus CDN builds.
- Keep el-switch height as 20px to match previous design from Element UI.
- Migrate app bootstrap to Vue 3 API: use createApp and createI18n in src/main.js and register ElementPlus.
- Replace vue-scrollactive with a new in-house ScrollSpy component
- Auto formatting by prettier.
- Update build config to import VueLoaderPlugin from 'vue-loader'.
| Component | Image |
|---|---|
| Explore | |
| ExampleCard | |
| Preview/Editor | |
| View/Preview | |
| CodeAce | |
| CodeMonaco | |
| Editor | |
| FullCodePreview |