No project description provided
Project description
Lektor 💛 Tailwind CSS
A Lektor plugin that adds Tailwind CSS to your project seamlessly.
Get Started
-
Add plugin to your project
$ lektor plugin add lektor-tailwind $ lektor plugin list
-
Configure your template paths
In
tailwindcss.config.js
:module.exports = { content: ['./templates/**/*.{html,j2}'], theme: { extend: {}, }, plugins: [], }
-
Add the Tailwind directives to your CSS
In
assets/static/style.css
:@tailwind base; @tailwind components; @tailwind utilities;
-
Start lektor build or server:
$ lektor build $ lektor server
You got it. Please refer to official Tailwind documentation for more information on using Tailwind CSS and its CLI.
Configuration
By default, the input CSS file in assets/static/style.css
, while it can be changed by css_path
plugin config.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lektor-tailwind-0.0.2.tar.gz
(1.7 MB
view details)
Built Distribution
File details
Details for the file lektor-tailwind-0.0.2.tar.gz
.
File metadata
- Download URL: lektor-tailwind-0.0.2.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8dc2eb1fda8a25f29aedc6a17155bffdf600a2ecb8594721e3cbb6f8de3c0a |
|
MD5 | da57edd48165ce827416b295001ceab9 |
|
BLAKE2b-256 | 8e4029dd2bcc8b1d71d7b21c4c9954195b93532e4f5bf563369fc5e5e7a25fe3 |
File details
Details for the file lektor_tailwind-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lektor_tailwind-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 398802542e78f250dc625bb3fce2df24a401845ce67a81360025074b1e7c02de |
|
MD5 | ced0d0554671876fd3b7f785f1f7f555 |
|
BLAKE2b-256 | 42f93540e2e0cf3f2a94a336bb1c81e9ef6a376ce7345db5824bf6cedbbd1dc9 |