weh-tachyons
v1.0.1
Published
load tachyons in a weh site
Downloads
1
Readme
weh-tachyons
a simple plugin to load tachyons into your weh site output
Installation
npm install weh-tachyons
Usage
Just load it in as a normal plugin:
const tachyons = require('weh-tachyons')
weh(async site => {
// etc
site.use(tachyons)
// etc
})
And a file named tachyons.css
will be compiled into your site output:
<!-- this could be your index.html -->
<link rel="stylesheet" href="tachyons.css">
Options
If you want to customize the output filename, you can do that:
site.use(tachyons, { filename: 'css/tachyons.css' }
// will end up at '<destination>/css/tachyons.css'
Code of Conduct
This repository operates under the weallbehave
Code of Conduct. Its contents can be found in CODE_OF_CONDUCT.md
.