Skip to content

Barebones template for WinterCMS with Tailwind CLI and AlpineJS

Notifications You must be signed in to change notification settings

TheWebsiteGuyGB/a-winters-tail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwind Skeleton Template for Winter CMS

This is a bare bones skeleton starter template for Winter CMS

Preconfigured with TailwindCSS v3.0.16 + Plugins (Typography, Forms) + AlpineJS

Built for Linux servers

This setup is based on Tailwind CLI working on a Linux x64 server. This should work on most LAMP Stack environments.

Not using Linux server?

The Tailwind CLI is also available for Windows and Mac environments. Please see official documentation from Tailwind:

Standalone CLI: Use Tailwind CSS without Node.js – Tailwind CSS

How to use

Open a terminal in the root directory of the theme

Important! Make sure the tailwindcss file has permissions to execute

chmod +x tailwindcss

(Alternatively, open in a file browser and set permissions to 0755)

Dev/Staging Environment

To watch for changes on the fly during development run the following command.

./tailwindcss -i ./assets/style/src/theme.css -o ./assets/style/dist/theme.css --watch

Production Environment

To generate a minified css file for production

./tailwindcss build -i ./assets/style/src/theme.css -o ./assets/style/dist/theme.css --minify

About

Barebones template for WinterCMS with Tailwind CLI and AlpineJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published