Giter Club home page Giter Club logo

tailwind-example's Introduction

Build

TailwindCSS webpack/HTML for concreteCMS

This repository is for webpack/html tailwind starter repo for concrete5 theme development

Updates

  • Now updated to version 2.1 of tailwind (using JIT)
  • Updated to webpack 5
  • Now Includes @tailwind/forms and @tailwind/typhography (remove @tailwind/ui)

To build

Just run npm run build and the dist directory contains all of the relevant HTML/CSS You can also use npm run build:dev to build development assets however the file sizes are large

To build for concreteCMS

Just run npm run build:c5 and the dist/theme_name directory contains all of the relevant php/css/js

For Development

Just run npm run dev and you will have a web browser popup with automatic hot-reloading whenever you save Alternatively run npm run watch which will auto-compile all files whenever changes happen (development mode only) usefull if you are linking to css/js files in other projects and dont need hot-reloading.

Note

All output files are auto-generated in this version. For SCSS files just add <link href='scss/filename.scss' rel='stylesheet'> it will be automatically converted and compiled into <link href='assets/css/filename.css' rel='stylesheet'> Index.js is not required in your html files it is included in them all

tailwind-example's People

Contributors

deek87 avatar dependabot[bot] avatar hissy avatar moyori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.