mirror of
https://github.com/wassname/template.git
synced 2026-06-29 05:35:48 +08:00
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# Distill Template [](https://travis-ci.org/distillpub/template)
|
|
|
|
This is the repository for the distill web framework. If you're interesting in just using the framework to write an article for the [Distill journal](http://distill.pub), visit http://distill.pub/guide/.
|
|
|
|
The general process for using this framework is to hotlink the compiled code in your dev environment.
|
|
|
|
```html
|
|
<script src="https://distill.pub/template.v2.js"></script>
|
|
```
|
|
|
|
You can also install it as a local dependency through npm or with [yarn](https://yarnpkg.com).
|
|
|
|
```
|
|
npm install --D distill-template
|
|
```
|
|
|
|
If you're interested in submitting pull requests or developing on the framework itself, read on.
|
|
|
|
## Development
|
|
|
|
Run `npm run start` to start a watching build rollup server. To view the sample pages in the repo, you can run `npm run serve` as a separate process which starts a static server. `npm run build` will run a one-time build.
|
|
|
|
## Testing
|
|
|
|
Run `npm test`. That's it.
|