This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Please Note : | |
* The bulk of the code in this file is not of my own creation, | |
* but of the creators of electron-react-boilerplate (https://github.com/electron-react-boilerplate/electron-react-boilerplate). | |
* I created and used this gist for a Medium article that is a guide to installing Tailwind CSS with ERB. | |
*/ | |
/** | |
* Build config for development electron renderer process that uses | |
* Hot-Module-Replacement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint global-require: off, no-console: off */ | |
import React from 'react'; | |
export default function Home() { | |
return ( | |
<> | |
<div className="bg-gray-500 p-5 text-center">Tailwind</div> | |
</> | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
theme: {}, | |
variants: {}, | |
plugins: [] | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint global-require: off, import/no-extraneous-dependencies: off */ | |
module.exports = { | |
plugins: [require('tailwindcss'), require('autoprefixer')] | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Please Note : | |
// The bulk of the code in this file is not of my own creation, | |
// but of the creators of electron-react-boilerplate (https://github.com/electron-react-boilerplate/electron-react-boilerplate). | |
// I created and used this gist for a Medium article that is a guide to installing Tailwind CSS with ERB. | |
{ | |
"name": "name", | |
"productName": "Name", | |
"version": "0.0.2", | |
"description": "Description here...", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
:root { | |
--test-var: pink; | |
} | |
body { | |
position: relative; |