Giter Site home page Giter Site logo

Useing in angular 2+ about flex-gap-polyfill HOT 5 CLOSED

moshe-l avatar moshe-l commented on August 30, 2024
Useing in angular 2+

from flex-gap-polyfill.

Comments (5)

gavinmcfarland avatar gavinmcfarland commented on August 30, 2024

Hi @moshe-l . The polyfill requires PostCSS. I've not used Angular before but from what I've read you need to use a custom Webpack config to use PostCSS. I found this article which talks about using Tailwind and angular, you should be ale to follow the same steps (without the Tailwind stuff).

https://dev.to/seankerwin/angular-8-tailwind-css-guide-3m45

from flex-gap-polyfill.

moshe-l avatar moshe-l commented on August 30, 2024

Thanks you for your response. I'll check it out.

from flex-gap-polyfill.

gavinmcfarland avatar gavinmcfarland commented on August 30, 2024

I tried to have a go but I wasn't familiar enough with Angular. Let us know if you get it working, or if you hit a roadblock.

from flex-gap-polyfill.

madmacc avatar madmacc commented on August 30, 2024

@moshe-l Did you get this working with Angular?
Any tips?

from flex-gap-polyfill.

gavinmcfarland avatar gavinmcfarland commented on August 30, 2024

I found the following articles talking about enabling PostCSS support for Angular and it seems like they've ditched it for now. It's not been supported for a few versions now. Somebody talks about getting it to work with a custom build. It may be useful for someone that's interested in trying it.

Various links I found below about it below:

angular/angular-cli#26536
nrwl/nx#9650
https://medium.com/@kabya78890/install-tailwind-css-using-post-css-in-your-angular-project-9cc0f9a3927b

I'll be closing this issue for now.

from flex-gap-polyfill.

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.