Giter Club home page Giter Club logo

Comments (5)

 avatar commented on May 27, 2024 1

👍
@caioertai I continued with propshaft and jsbundling-rails (with esbuild) which works quite well.

from font-awesome-sass.

supercodepoet avatar supercodepoet commented on May 27, 2024

I have removed font-awesome-sprockets as it was no longer needed. I used SASS functions to accomplish the same goal. All you need to do now is:

@import font-awesome;

from font-awesome-sass.

 avatar commented on May 27, 2024

I'm having similar issues, however removing font-awesome-sprockets doesn't work. I'm using cssbundling-rails and i still get:

Error: Can't find stylesheet to import.
@import font-awesome

Any idea about my issues?

This is the build command: "build:css": "sass ./app/assets/stylesheets/application.sass ./app/assets/builds/application.css --no-source-map --load-path=node_modules"

from font-awesome-sass.

ReazerDev avatar ReazerDev commented on May 27, 2024

Can confirm, I have the same issue. I tried replacing sass-rails with cssbundling-rails, as I'm also using jsbundling-rails, and after install cssbundling, it can't find "font-awesome".

I presume it's needed to add another load-path to the build:sass script, but I don't know what I should put there.

from font-awesome-sass.

caioertai avatar caioertai commented on May 27, 2024

I've managed to make it work by importing it via JS. Here's what I followed:
https://blog.corsego.com/fontawesome-importmaps-rails7

@ReazerDev @lukas-conlance @supercodepoet @adeetyak

from font-awesome-sass.

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.