Giter VIP home page Giter VIP logo

Comments (2)

xewl avatar xewl commented on July 25, 2024 1

Long story short, it's clear to be now, and working as I expect.😁✌

I'm guessing I ran into some issues with the name resolving.

The message threw me off; as I don't have a "default" set anymore.
Svg by name "platform.event-canceled" from set "default" not found.

My quote-on-quote default set, has the icon- prefix.
Another set was using the icon-platfom prefix.

I was doing platform. instead of icon-platform-
The latter also failed though, as it went looking into the first set with prefix icon- first.
Changed that prefix; resulting in platform-event-canceled now working.

Also needed to clear the config cache.. wasn't thinking about that;
because I'm using Apache inside WSL instead of artisan serve.

from blade-icons.

driesvints avatar driesvints commented on July 25, 2024

Add the ability to override the default set key.

It's already possible to remove the default set and replace it with another one. Is that what you mean?

Make a way to prefix in the first parameter of svg($name) which set to actually look in, overriding default.
eg. @svg('other-set.subfolder.filename', ...)

This is also already possible.

Please share code like your config file, the way you use the icons, etc. Are you using any of the other icon libraries?

from blade-icons.

Related Issues (20)

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.