-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.0.0-beta.5
Environment
win chrome vue all the latest version
Reproduction link
Steps to reproduce
Header.vue
<script>
import { UserOutlined } from '@ant-design/icons-vue'
</script>
error:
...
GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/UsergroupAddOutlinedeawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnUsergroupAddOutlined.js net::ERR_ABORTED 404 (Not Found)
UsergroupDeleteOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/UsergroupDeleteOutlinedwescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnUsergroupDeleteOutlined.js net::ERR_ABORTED 404 (Not Found)
VerifiedOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerifiedOutlinedourceawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerifiedOutlined.js net::ERR_ABORTED 404 (Not Found)
VerticalAlignBottomOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerticalAlignBottomOutlinednb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerticalAlignBottomOutlined.js net::ERR_ABORTED 404 (Not Found)
VerticalAlignMiddleOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerticalAlignMiddleOutlinednb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerticalAlignMiddleOutlined.js net::ERR_ABORTED 404 (Not Found)
VerticalAlignTopOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerticalAlignTopOutlinedescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerticalAlignTopOutlined.js net::ERR_ABORTED 404 (Not Found)
VerticalLeftOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerticalLeftOutlinedeawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerticalLeftOutlined.js net::ERR_ABORTED 404 (Not Found)
VerticalRightOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VerticalRightOutlinedawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVerticalRightOutlined.js net::ERR_ABORTED 404 (Not Found)
VideoCameraAddOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VideoCameraAddOutlinedawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVideoCameraAddOutlined.js net::ERR_ABORTED 404 (Not Found)
VideoCameraFilled.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VideoCameraFilledurceawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVideoCameraFilled.js net::ERR_ABORTED 404 (Not Found)
VideoCameraOutlined.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VideoCameraOutlinedceawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVideoCameraOutlined.js net::ERR_ABORTED 404 (Not Found)
VideoCameraTwoTone.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/VideoCameraTwoTonerceawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnVideoCameraTwoTone.js net::ERR_ABORTED 404 (Not Found)
WalletFilled.js:9 GET http://localhost:3000/@modules/@ant-design/icons-svg/es/asn/WalletFilledpensourceawescnb-cawescnb-c-viteode_modules@ant-designicons-svgesasnWalletFilled.js net::ERR_ABORTED 404 (Not Found)
...
What is expected?
How to use icon in vite ?
What is actually happening?
Error using SVG Icon in vite .
lanseria, vand7813 and herubber