Coder Social home page Coder Social logo

codewithchu / tailwindcss-v2-setup-install Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 8.0 50 KB

Source Code for Setup and Install Tailwindcss v2.0 on CodeWithChu YouTube Channel.

Home Page: https://youtu.be/To2LiO-IxqU

JavaScript 45.48% HTML 40.44% CSS 14.08%
tailwindcss youtube tailwindcss-v2 howto-tutorial codewithchu-youtube-channel

tailwindcss-v2-setup-install's Introduction

Tailwindcss v2.0

TailwindCss Releases First Major Update with Tailwind Css v2.0.

Source files for Setup and Install Tailwindcss v2.0 on CodeWithChu YouTube Channel.

Install

npm install

NPM Scripts

#build script
npm run tw:build

#watch script
npm run tw:watch

#build for production
npm run tw:prod

connect with @codewithchu

tailwindcss-v2-setup-install's People

Contributors

codewithchu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tailwindcss-v2-setup-install's Issues

Importing Custom CSS with Tailwind classes does not work

Hi, I posted this on YouTube but just came across the GitHub so I'll post it here.

According to some of the members of the Tailwind Discord channel they say custom CSS with tailwind classes should work for example:

Screenshot 2021-01-15 at 14 55 39

In my case the custom css is header.css and with following test tailwind classes:

.header { @apply bg-black text-xl font-semibold; }

However the PostCSS does not pick this up. Only normal CSS works which is not what I want.
Here is my PostCSS config file:

Screenshot 2021-01-18 at 15 23 13

The official documentation seems to suggest it should work but it is vague:
https://tailwindcss.com/docs/using-with-preprocessors#build-time-imports

Have you had this issue?

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.