vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.14k stars 3.78k forks source link

Allicons was not found in lib/dist #4578

Closed gaweki closed 3 years ago

gaweki commented 3 years ago

Version

1.7.7

Environment

Ubuntu

Reproduction link

https://required.com

Steps to reproduce

  1. use this package.json
{
"name": "ant-design-vue-pro-template",
"version": "3.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"lint:check": "vue-cli-service lint --no-fix",
"analyz": "vue-cli-service build --mode analyz"
},
"dependencies": {
"@ant-design-vue/pro-layout": "^1.0.1-0",
"ant-design-vue": "^1.6.4",
"axios": "^0.19.2",
"core-js": "^3.6.5",
"mockjs": "^1.1.0",
"moment": "^2.29.1",
"nprogress": "^0.2.0",
"react-native-base64": "^0.2.1",
"store": "^2.0.12",
"vue": "^2.6.11",
"vue-google-charts": "^0.3.3",
"vue-i18n": "^8.20.0",
"vue-router": "^3.2.0",
"vue-svg-component-runtime": "^1.0.1",
"vuex": "^3.4.0"
},
"devDependencies": {
"@ant-design/colors": "^3.2.1",
"@ant-design/icons": "^2.1.1",
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-plugin-router": "~4.4.0",
"@vue/cli-plugin-vuex": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"@vue/eslint-config-standard": "^5.1.2",
"babel-eslint": "^10.1.0",
"babel-plugin-import": "^1.13.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^6.2.2",
"git-revision-webpack-plugin": "^3.0.6",
"less": "^3.0.4",
"less-loader": "^5.0.0",
"lint-staged": "^9.5.0",
"prettier": "^2.2.1",
"umi-mock-middleware": "^1.0.0",
"vue-svg-icon-loader": "^2.1.1",
"vue-template-compiler": "^2.6.11",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-theme-color-replacer": "^1.3.14"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
  1. i upgrade to "ant-design-vue": "^1.7.7" (because scroll can't use with expand..render)

  2. run project

What is expected?

no warning on terminal

What is actually happening?

there is warning:

WARNING  Compiled with 1 warning                                                                                                                                                          4:15:53 PM

warning  in ./node_modules/ant-design-vue/es/icon/index.js

"export 'default' (imported as 'allIcons') was not found in '@ant-design/icons/lib/dist'

App running at:
- Local:   http://localhost:8001/
tangjinzhou commented 3 years ago

1.7.8

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.