<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Inad Hussein</title>
    <description>The latest articles on Forem by Inad Hussein (@inerds).</description>
    <link>https://forem.com/inerds</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F498469%2Fd51e1543-6547-4bac-8f6f-737f5b55981d.jpeg</url>
      <title>Forem: Inad Hussein</title>
      <link>https://forem.com/inerds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/inerds"/>
    <language>en</language>
    <item>
      <title>Getting started with Tailwind CSS - Real quick!</title>
      <dc:creator>Inad Hussein</dc:creator>
      <pubDate>Sun, 25 Oct 2020 10:02:06 +0000</pubDate>
      <link>https://forem.com/inerds/getting-started-with-tailwind-css-real-quick-4mco</link>
      <guid>https://forem.com/inerds/getting-started-with-tailwind-css-real-quick-4mco</guid>
      <description>&lt;p&gt;You have heard all the great things about Tailwind CSS but getting started seems a bit too much? Well, this article for you.&lt;/p&gt;

&lt;p&gt;I have created a quickstart repo with the necessary tools so you don't have to set up and configure TailwindCSS for every project. &lt;/p&gt;

&lt;h4&gt;
  
  
  1. Clone the repo
&lt;/h4&gt;

&lt;p&gt;We start by cloning this quickstart repo and changing the directory to that folder&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/inerds/tailwind-quickstart.git'
cd tailwind-quickstart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. Install dependencies
&lt;/h4&gt;

&lt;p&gt;This will install the required packages such as PostCSS, live-server ..etc&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Fire up a live server for preview
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;live-server public
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will start a live-server in the /public folder. You can start editing index.html file and changes will be auto refreshed on the browser.&lt;/p&gt;

&lt;p&gt;If you are writing CSS run the following watch command and it will watch out for changes in css file in css/tailwind.css and build it to public/css/tailwind.css.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run watch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enjoy Tailwinding! &lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>css</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
