Giter VIP home page Giter VIP logo

Comments (3)

lukeed avatar lukeed commented on May 30, 2024 2

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.

lukeed avatar lukeed commented on May 30, 2024 1

I think I'm going to have to pass this time around, but thank you @sp90! Maybe in the future 😄

from preact-starter.

sp90 avatar sp90 commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.