All Projects → cjkoepke → Wp Tailwind

cjkoepke / Wp Tailwind

A WordPress starter theme that utilizes Tailwind + PurgeCSS.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Wp Tailwind

Sage
WordPress starter theme with a modern development workflow
Stars: ✭ 11,531 (+8441.48%)
Mutual labels:  webpack, wordpress, wordpress-theme, tailwindcss
Wp Tailwindcss Theme Boilerplate
A minimalist boilerplate for WordPress theme development using Tailwind CSS, SCSS, and Laravel Mix.
Stars: ✭ 199 (+47.41%)
Mutual labels:  wordpress, wordpress-theme, tailwindcss
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+392.59%)
Mutual labels:  webpack, wordpress, wordpress-theme
Frontpress
⚡️ A full front-end AngularJS template for WordPress Rest API.
Stars: ✭ 109 (-19.26%)
Mutual labels:  wordpress, wordpress-theme
Lichter.io
My own website and CV
Stars: ✭ 105 (-22.22%)
Mutual labels:  webpack, tailwindcss
Nextjs Wordpress Starter
WebDevStudios Next.js WordPress Starter
Stars: ✭ 104 (-22.96%)
Mutual labels:  wordpress, tailwindcss
Tersus
An achingly simple WordPress theme without all the usual cruft.
Stars: ✭ 100 (-25.93%)
Mutual labels:  wordpress, wordpress-theme
Customizr
Customizr WordPress Theme
Stars: ✭ 133 (-1.48%)
Mutual labels:  wordpress, wordpress-theme
Plate
Plate: a super stripped-down WordPress starter theme for developers.
Stars: ✭ 110 (-18.52%)
Mutual labels:  wordpress, wordpress-theme
Wordpress Bootstrap
Bootstrap in WordPress theme form - Bootstrap 3.3.1
Stars: ✭ 1,494 (+1006.67%)
Mutual labels:  wordpress, wordpress-theme
Visual Composer Starter
Visual Composer Starter theme for WordPress designed to be a perfect companion for a simple and good looking website or blog.
Stars: ✭ 125 (-7.41%)
Mutual labels:  wordpress, wordpress-theme
Jackpine
WordPress starter theme with Timber, Tailwind, and Alpine.js.
Stars: ✭ 101 (-25.19%)
Mutual labels:  wordpress, tailwindcss
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+917.78%)
Mutual labels:  wordpress, wordpress-theme
Wp React Boilerplate
Boilerplate for creating WordPress plugin UI's with REST API, BrowserSync, Webpack and React
Stars: ✭ 109 (-19.26%)
Mutual labels:  webpack, wordpress
Wordless
All the power of Pug, Sass, Coffeescript and WebPack in your WordPress theme. Stop writing themes like it's 1998.
Stars: ✭ 1,374 (+917.78%)
Mutual labels:  webpack, wordpress
Frontenberg
A limited frontend preview of the Gutenberg editor
Stars: ✭ 113 (-16.3%)
Mutual labels:  wordpress, wordpress-theme
Wponion
~ Lightweight, Flexible & Rapid WP Development Framework ~
Stars: ✭ 125 (-7.41%)
Mutual labels:  wordpress, wordpress-theme
Rizhuti
wordpress theme rizhuti V2.8 Happy Crack version
Stars: ✭ 127 (-5.93%)
Mutual labels:  wordpress, wordpress-theme
Sempress
A highly semantic WordPress Theme with HTML5 templates, responsive and seo optimized. SemPress supports most of the new HTML5 tags, the new HTML5 input-types, microformats, microformats v2 and microdata (Schema.org).
Stars: ✭ 132 (-2.22%)
Mutual labels:  wordpress, wordpress-theme
Vuejs Wordpress Theme Starter
A WordPress theme with the guts ripped out and replaced with Vue.
Stars: ✭ 1,359 (+906.67%)
Mutual labels:  wordpress, wordpress-theme

WordPress Tailwind Starter Theme

A minimalistic WordPress starter theme, based on Tailwind and PurgeCSS.

Requirements

How to get started

  1. Clone or download the project onto your themes directory (./wp-content/themes)
  2. Run a find/replace for the following strings:
  • wp-tailwind
  • WP_Tailwind
  • wp_tailwind_
  1. Run composer install
  2. Run npm install
  3. Update the BrowserSyncPlugin configuration in webpack.config.js to the domain of your local installation.
  4. Run npm start to begin development server.

Webpack

The theme uses Webpack as its bundler with ES6 modules for JavaScript files. It also compresses images found in src automatically, and maps images to the appropriate destination through the @images alias. For example, @images/example.jpg would be compiled to ../images/example.jpg.

Deployment

npm run build

This will run both a production and development set of webpack tasks. The enqueue hook will load the correct version of the JS file, based on whether your development/staging server's SCRIPT_DEBUG constant is set to true.

Tailwind

Using the tailwind.js file, you can customize Tailwind's default styles before things get compiled. For more information on configuration, see detailed documentation on Tailwind.

PurgeCSS

WP Tailwind uses PurgeCSS to remove unused styles from the production build. It scans your project directory for strings that match SCSS declarations. You can modify the directories to search for in the webpack.config.js file. Always check your production build to make sure styles you were developing with compiled correctly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].