Skip to content

Commit

Permalink
fix: element-plus 因为执行ts代码导致报错
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhongbin committed Nov 20, 2020
1 parent 9c3f34d commit cee3798
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 0 additions & 3 deletions projects/element-plus/babel.config.js

This file was deleted.

3 changes: 2 additions & 1 deletion projects/element-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"dependencies": {
"element-plus": "^1.0.1-alpha.15",
"vue": "^3.0.2"
"vue": "^3.0.2",
"vue-router": "^3.4.9"
},
"scripts": {
"dev": "emp dev",
Expand Down
2 changes: 1 addition & 1 deletion projects/element-plus/src/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ElementPlus from 'element-plus'
import ElementPlus from 'element-plus/lib/index.esm'
import 'element-plus/lib/theme-chalk/index.css'
import {createApp} from 'vue'
import App from './App.vue'
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14274,6 +14274,11 @@ vue-loader@^16.0.0-rc.1:
hash-sum "^2.0.0"
loader-utils "^2.0.0"

vue-router@^3.4.9:
version "3.4.9"
resolved "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.9.tgz?cache=0&sync_timestamp=1605351984327&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.9.tgz#c016f42030ae2932f14e4748b39a1d9a0e250e66"
integrity sha1-wBb0IDCuKTLxTkdIs5odmg4lDmY=

vue-style-loader@^4.1.0:
version "4.1.2"
resolved "https://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.2.tgz#dedf349806f25ceb4e64f3ad7c0a44fba735fcf8"
Expand Down

1 comment on commit cee3798

@ckken
Copy link
Contributor

@ckken ckken commented on cee3798 Nov 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:TODO 适配ts 环境

Please sign in to comment.