done-css v3.1.0
done-css
A CSS plugin for DoneJS projects.
This is the normal Steal CSS plugin with a few DoneJS specific features like live-reload and server-side rendering included.
Install
To use this plugin in a DoneJS project just install it:
npm install done-css --save
Features
renderingCacheVersion
When server-side rendering with done-ssr and using the cache busting extension you need to specify the renderingCacheVersion
property in your config. You might do so like this:
const ssr = require("done-ssr");
const render = ssr({
renderingCacheVersion: 99
});
Doing this will result in the cache version number appearing in the server-rendered <link>
elements.
Contributing
To setup your dev environment:
- Clone and fork this repo.
- Run
npm install
. - Open
test/test.html
in your browser. Everything should pass. - Run
npm test
. Everything should pass. Run
npm run-script build
. Everything should build ok. To publish:Update the version number in package.json
- Update the version number in
test/live-ssr/index.html
- Commit and push this to master
- Tag it
git tag v0.2.0
. Push the taggit push origin --tags
.
License
MIT
5 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago