Giter VIP home page Giter VIP logo

Comments (4)

driesvints avatar driesvints commented on August 28, 2024 1

I have a test right here which verifies the behavior: https://github.com/blade-ui-kit/blade-icons/blob/main/tests/ComponentsTest.php#L80-L94

Here's the view that's used: https://github.com/blade-ui-kit/blade-icons/blob/main/tests/resources/views/icon-subdirectory.blade.php

So there must be discrepancy here somewhere. Can you screenshot the directory structure of resources/assets/svg/icons/. Also: what happens when you remove the trailing slash from the path setting?

from blade-icons.

driesvints avatar driesvints commented on August 28, 2024 1

FYI: you can omit the prefix for the "default" set when using the @svg directive or the svg() helper.

from blade-icons.

nathangross avatar nathangross commented on August 28, 2024 1

Removing the tailing slash seems to have fixed my issue. Adding the dir structure (it's been updated since my previous message) screenshot anyway.

Screen Shot 2020-08-21 at 2 42 33 PM

Thanks for the reply and tip on removing the prefix on @svg!

from blade-icons.

driesvints avatar driesvints commented on August 28, 2024 1

@nathangross glad you figured it out 👍

I'm gonna re-open this issue to see if I can strip the trailing slash when an Icon set gets added so it doesn't matters if you set it or not.

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.