All Projects → mishterk → Wp Tailwindcss Theme Boilerplate

mishterk / Wp Tailwindcss Theme Boilerplate

A minimalist boilerplate for WordPress theme development using Tailwind CSS, SCSS, and Laravel Mix.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Wp Tailwindcss Theme Boilerplate

Sage
WordPress starter theme with a modern development workflow
Stars: ✭ 11,531 (+5694.47%)
Mutual labels:  wordpress, wordpress-theme, wordpress-starter-theme, tailwindcss
air
A hyper-minimal WordPress starter theme for developers built with Tailwind CSS.
Stars: ✭ 45 (-77.39%)
Mutual labels:  wordpress-development, wordpress-theme, wordpress-starter-theme, tailwindcss
Air Light
WordPress starter theme - designed to be minimal, lightweight and easy for all kinds of WordPress projects. Public Roadmap: https://favro.com/organization/3b45e73eaf083f68fefef368/c1dd2d4a99d6723904d2e763
Stars: ✭ 285 (+43.22%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development, wordpress-starter-theme
Theme
Tonik is a WordPress Starter Theme which aims to modernize, organize and enhance some aspects of WordPress theme development.
Stars: ✭ 1,197 (+501.51%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development, wordpress-starter-theme
Create React Wptheme
Create modern, React-enabled WordPress themes with a single command.
Stars: ✭ 252 (+26.63%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development, wordpress-starter-theme
Wp Tailwind
A WordPress starter theme that utilizes Tailwind + PurgeCSS.
Stars: ✭ 135 (-32.16%)
Mutual labels:  wordpress, wordpress-theme, tailwindcss
Fabrica Dev Kit
A toolkit for faster, smoother WordPress 5 development
Stars: ✭ 256 (+28.64%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development
Live Composer Page Builder
Free page builder plugin for WordPress http://livecomposerplugin.com
Stars: ✭ 143 (-28.14%)
Mutual labels:  wordpress, wordpress-development, wordpress-starter-theme
Understrap
Understrap is the renowned open-source WordPress starter theme that combines Underscores with Bootstrap. Trusted by more than 100,000 developers.
Stars: ✭ 2,822 (+1318.09%)
Mutual labels:  wordpress-theme, wordpress-development, wordpress-starter-theme
Lumberjack
Lumberjack is a powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code.
Stars: ✭ 261 (+31.16%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development
Flynt
Component based WordPress starter theme, powered by ACF Pro and Timber, optimized for a11y and fast page load results.
Stars: ✭ 363 (+82.41%)
Mutual labels:  wordpress, wordpress-theme, wordpress-starter-theme
WordPress-UIkit-Starter-Theme
A WordPress starter theme for developers using the frontend framework UIkit
Stars: ✭ 55 (-72.36%)
Mutual labels:  wordpress-development, wordpress-theme, wordpress-starter-theme
untheme
A blank WordPress theme for developers.
Stars: ✭ 82 (-58.79%)
Mutual labels:  wordpress-development, wordpress-theme, wordpress-starter-theme
Startwordpress
Learn how to develop a WordPress theme from scratch with this basic skeleton and accompanying tutorial.
Stars: ✭ 187 (-6.03%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development
starter-kit-theme
WordPress starter theme with a modern development stack for launching projects faster and easily
Stars: ✭ 25 (-87.44%)
Mutual labels:  wordpress-development, wordpress-theme, wordpress-starter-theme
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-86.93%)
Mutual labels:  wordpress, wordpress-development, wordpress-starter-theme
Wpintel
Chrome extension designed for WordPress Vulnerability Scanning and information gathering!
Stars: ✭ 70 (-64.82%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development
Jackpine
WordPress starter theme with Timber, Tailwind, and Alpine.js.
Stars: ✭ 101 (-49.25%)
Mutual labels:  wordpress, wordpress-starter-theme, tailwindcss
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+234.17%)
Mutual labels:  wordpress, wordpress-theme, wordpress-starter-theme
Wp Functions List
This is a list of all WordPress functions from version 0 to version 4.8.1 along with the data of when they were first introduced and if they are deprecated or not
Stars: ✭ 88 (-55.78%)
Mutual labels:  wordpress, wordpress-theme, wordpress-development

A boilerplate for WordPress theme development using TailwindCSS and Laravel Mix.

Getting started:

  1. Clone into an empty theme directory
  2. cd into your new theme directory
  3. Run npm install
  4. Duplicate the local-example.json file to local.json, then replace the proxy value with your local development hostname
    • This will allow you to use live reload/injection while working on your CSS/JS
  5. Run a search & replace across the theme to replace all instances of 'WpTailwindCssThemeBoilerplate' with a PHP namespace specific to your theme/project
  6. Change the theme information in style.css
  7. Activate your theme
  8. Run npm run dev and start coding

Commands

npm run dev

Assets will be compiled and BrowserSync will proxy the dev host allowing you to work while seeing your CSS and JS changes appear on the site as they are recompiled.

npm run webpack

Runs the development build

npm run prod

Runs the product build which includes asset file versioning and Purge CSS

Versioned Assets

Versioned assets will appear in a build directory alongside a manifest file which is used while enqueuing scripts and styles. This saves you the need to adjust version parameters on your assets and makes it possible to remove parameters on asset URLs without losing the ability to force those assets to update in browsers.

Purge CSS

Purge CSS is pretty darn excellent and is used to strip out any CSS that isn't being used during the production build.

It does this by looking through specified template files to work out which CSS selectors have been used. If it can't find a CSS rule being used in the templates, it removes it from the final CSS.

See the paths option in the mix.purgeCss() invocation in webpack.mix.js for the file paths being looked at.

How to tell Purge CSS to ignore things

The easiest way is to delineate your CSS with comments as per the example below. See whitelisting for more options.

/* purgecss start ignore */
h1 {
  color: blue;
}

h3 {
  color: green;
}
/* purgecss end ignore */
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].