npm i @iconify/iconify npm i vite-plugin-purge-icons @iconify/json -D @iconify/jsonis an optional dependencies of PurgeIcons. When it presents in yournode_modules, PurgeIcons will load the icons from it locally, otherwise, PurgeIcons will try to fetch the iconset your requested online. ...
Vite plugin to remove unused Bootstrap Icons from your bundle. Latest version: 1.0.5, last published: a year ago. Start using vite-plugin-purge-bootstrap-icons in your project by running `npm i vite-plugin-purge-bootstrap-icons`. There are no other proje
vite-plugin-purge-icons项目文档 vite-plugin-purge-iconsVite Plugin for PurgeIconsUsage ℹ️ Vite 2 is supported from v0.5.x, Vite 1's support is discontinued.Installnpm i @iconify/iconify npm i vite-plugin-purge-icons @iconify/json -D @iconify/json is an optional...
"@vitejs/plugin-vue": "^1.0.5", "@vue/compiler-sfc": "^3.0.5", "vite": "^1.0.0-rc.13", "vite-plugin-purge-icons": "^0.5.0" "vite": "^2.0.0-beta.26", "vite-plugin-purge-icons": "workspace:*" }, "version": "0.5.0" } 2 changes: 2 additions & 0 deletions 2 exa...
🎐 Bundles icons on demand. Contribute to antfu/purge-icons development by creating an account on GitHub.
vite-plugin-purge-icons Vite Plugin forPurgeIcons Usage ℹ️Vite 2 is supported fromv0.5.x, Vite 1's support is discontinued. Install npm i @iconify/iconify npm i vite-plugin-purge-icons @iconify/json -D @iconify/jsonis an optional dependencies of PurgeIcons. When it presents in your...
Make sure you have Bootstrap Icons installed in your project. Then, import it in your css or scss. Next, install the plugin: npm i -D vite-plugin-purge-bootstrap-icons Then, add it to your vite.config.js: import purgeBootstrapIcons from 'vite-plugin-purge-bootstrap-icons' ... export...