Comments (4)
Thanks for the suggestion! I think this is a nice to have feature that shouldn't require too much effort. I will go ahead and add this to the list of features I would like to tackle.
In the meantime, you can checkout my comment here that allows you to use the local @iconify/json
module to retrieve the icons instead of the internet.
from astro-icon.
I am second to this feature. Recently I have been getting errors like UND_ERR_CONNECT_TIMEOUT
when fetching the icons. I guess this is because I'm using a VPN and the firewall is kicking in from Vercel because I use a lot of icons in a single page. An offline cache might solve this problem.
from astro-icon.
I also think this would be an amazing feature and it looks like it will be supported in v1
of astro-icon
. I do a lot of development on plains, trains, and automobiles where internet isn't always a thing
from astro-icon.
The v1
of astro-icon
will utilize the locally installed files and no longer reach out to a service.
from astro-icon.
Related Issues (20)
- Missing Props.ts file referenced in Readme.md
- Generated IDs on symbol elements are not valid XML
- Cannot change color of icon using styling HOT 2
- feature: Disable optimized sprites HOT 1
- Cannot read properties of undefined (reading 'info') HOT 3
- feature: need to swap Out SVG Icons
- <Icon> components with different svg icons show up as the same icon. HOT 1
- Automatically optimized sprites
- Using dynamic icon names fails during build HOT 2
- FATAL ERROR: Reached heap limit Allocation failed
- Why is fill="currentColor" applied to paths automatically? HOT 1
- Change size property to allow strings HOT 1
- Icon not showing (Symbol element missing from SVG) on Error pages HOT 1
- Future maintenance? HOT 3
- Error when evaluating SSR module "astro-icon" HOT 24
- [vite] Error when evaluating SSR module D:\VSCODE\astro-blog\astro.config.mjs: failed to import "astro-icon" HOT 5
- [vite] ..Failed to import "astro-icon" HOT 3
- Duplicate Icons on Chromium Based Browsers HOT 4
- When Astro enables SSR mode, the build output js is too large HOT 1
- Error when duplicate icon names are included in config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-icon.