Welcome! Here you'll find a reasonable starter pack for using Jekyll with Tailwind CSS, Autoprefixer, and Purgecss.
This project uses jekyll-postcss to manage compiling your Tailwind and Autoprefixer styles. You can use any PostCSS plugin by installing it with yarn
or npm
and adding it to your postcss.config.js
.
git clone [email protected]:mhanberg/jekyll-tailwind-starter PROJECT_NAME
cd PROJECT_NAME
# Install your Ruby and JavaScript dependencies.
# Initialize your Tailwind configuration.
# Reinitialize your git repository.
bin/setup
# Install new dependencies
bin/bootstrap
# Start the server
bin/start
# Create a new post
bin/new POST_TITLE
+---_includes
\---analytics.html // place your analytics tracking snippet in here
\---syntax.css // Syntax highlighting CSS
\---tailwind.config.js // Tailwind configuration. This is generated by bin/setup
+---_layouts
\---default.html
\---page.html
\---post.html
+---_posts
+---_bin
\---bootstrap // Install dependencies
\---new // Create a new post and open it in your $EDITOR
\---setup // Initial site setup
\---start // Start the server with the livereload, incremental, drafts, and future flags on port 5000
+---_css
\---site.css // Entry point stylesheet. You can write your styles here or import them from the _includes directory
+---index.md // Front page. This can be changed to an HTML file if desired.
+---404.html
+---_config.yml // Jekyll configuration
+---postcss.config.js // PostCSS configuration. All plugins should be registered here.
+---netlify.toml // Netlify configuration
- postcss-import
- Tailwind CSS
- Autoprefixer
- @fullhuman/postcss-purgecss
- cssnano
This setup has been tested on Netlify.
jekyll-tailwind-starter's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.