GithubHelp home page GithubHelp logo

themaxiiim / webpack-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tailwindlabs/webpack-starter

0.0 0.0 0.0 310 KB

A quick and simple example of using Tailwind CSS with Webpack.

License: MIT License

JavaScript 65.31% CSS 5.07% HTML 29.62%

webpack-starter's Introduction

Note: This project is deprecated. It was never a very good starter for real projects since you don't want your CSS framework to dictate your starter webpack setup โ€” better to use vue-cli, create-react-app, etc.

We recommend using the tailwindcss/playground starter if you just want a simple project for playing around with Tailwind and PostCSS.


Tailwind CSS Webpack Starter Project

This is an example of a super simple Webpack setup for using Tailwind CSS.

To get started, clone the project and install the dependencies:

# Using npm
npm install

# Using Yarn
yarn

After that, start up Webpack Development Server:

npm run dev

Webpack Development Server will watch /src/styles.css and /tailwind.js and rebuild your stylesheet on every change.

You can play around with /index.html to see the effects of your changes.

To build a production bundle run:

npm run prod

After that you will have a ready to deploy bundle at /dist

Contributing

Have a lot of experience with Webpack and suggestions on how we could improve this starter template? We'd love a PR!

webpack-starter's People

Contributors

adamwathan avatar rliessum avatar sorinr avatar knoopx avatar willemvb 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.