Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

friedrichweise
Copy link
Contributor

Description

This fixes a wrong tailwindcss configuration in the example file. According to the documentation @source includes the following directory. The comment above hints an exclusion of the vendor directory.

In a broader sense the given example configuration should explicitly @source the two main template directories or set a correct base path. In the given state the tailwindcss processor would not source the two main Kirby template directories. This could be done by explicitly sourcing the directories:

@source "../site/snippets";
@source "../site/templates";

or provide a proper base path:

@import "tailwindcss" source("../");

@friedrichweise friedrichweise changed the title fixes "@source"-call to actually exclude the vendor-dir Kirby meets Tailwind CSS Cookbook: fixes "@source"-call to actually exclude the vendor-dir Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.