awoo-tachyons

1.0.2 • Public • Published

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

Dependencies (2)

Dev Dependencies (8)

Package Sidebar

Install

npm i awoo-tachyons

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • oceanseraph