Coder Social home page Coder Social logo

sanan4li / react-electron-tailwindcss-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 3.0 1.63 MB

An extended version of https://github.com/alexdevero/electron-react-webpack-boilerplate boilerplate with TailwindCSS support.

License: MIT License

JavaScript 0.18% CSS 99.82%
electron-react electron-react-boilerplate electron-react-tailwind

react-electron-tailwindcss-boilerplate's Introduction

Minimal Electron, React and Webpack boilerplate with TailwindCSS

This is an extended version of Minimal Electron, React and Webpack boilerplate

Please check Minimal Electron, React and Webpack boilerplate for details. All credit goes to Alex Devero for awesome work.

Install

Clone this repo

git clone https://github.com/Sanan4li/React-Electron-TailwindCSS-Boilerplate.git

Install dependencies

npm install

or

yarn install

Usage

Run the app

npm run start

or

yarn start

Build CSS

npm run build-css

Add Custom Styles

Adding Custom Styles by adding styles into src/styles/index.css.

JIT Mode (Just In Time Mode)

As you know TailwindCSS 2.2 version supports JIT mode. You can enable it by uncommenting the line # 2 in tailwind.config.js. After enabling JIT mode you have to run a separate terminal

Use JIT Mode

npm run watch-css

This command will run a watcher waiting for you to change code and it will build css classes based on your code.

react-electron-tailwindcss-boilerplate's People

Contributors

0x00613 avatar alexdevero avatar dependabot[bot] avatar sanan4li avatar timburgess avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-electron-tailwindcss-boilerplate's Issues

Isn't there a way to package this app?

This is awesome boilerplate.
I would like to package this app for Windows, Linux and Mac.
So, I tried to install "electron-packager" but this I got unexpected issue.
image

Can you help me out please?

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.