Comments (3)
Hi! Thank you 😄
I'm not sure what to do in this case. This starter currently doesn't load any fonts or icons, so I don't feel it's directly needed. Also (mainly) I'm not sure if I want to force people in one direction or another.
Personally, I still cycle between the url-loader
and file-loader
. Rarely I'll use svg-sprites
, simply because I typically generate custom icon fonts. 😅 And in the event I'm using SVGs directly, it's generally less than 5 total, so I link to them directly.
I dunno, maybe it's my own mistake? But I still don't think SVG sprites are common enough that 90% of downloads will use them.
from preact-starter.
I think I'm going to have to pass this time around, but thank you @sp90! Maybe in the future 😄
from preact-starter.
thats great and all, i've also used icon fonts in a very long time, but its outdated, and i do agree it could be out of scope for this boilerplate.
I normally use svg-sprites with this component in react - i guess a simple rewrite could be done for preact aswell.
https://gist.github.com/sp90/cfcba9d446ae33148af12c41903c8eae
Anyhow thats totally up to you if you wanna go one way or the other
from preact-starter.
Related Issues (13)
- TypeError: history.listen is not a function HOT 2
- Why is style and javascript seperated HOT 5
- Update changes not working HOT 4
- props and states HOT 2
- Sass -> Scss HOT 1
- GPG signature for this Yarn release is invalid? HOT 3
- adding google maps preact way HOT 1
- Preact Starter & Firebase HOT 1
- npm install fails; obsolete packages, missing python2
- fix: webpack config is using undefined variable. HOT 1
- Readme links to a private repo HOT 1
- News about SSR? HOT 3
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 preact-starter.