1.0.2 • Published 6 years ago

awoo-tachyons v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

awoo-tachyons

a simple plugin to load tachyons into your awoo site output

Build Status

Installation

npm install awoo-tachyons

Usage

Just load it in as a normal plugin:

const tachyons = require('awoo-tachyons')

awoo(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.

License

MIT

1.0.2

6 years ago