Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calinou/weasyprint-pug-sass-template
Template to get started quickly with WeasyPrint + Pug + Sass
https://github.com/calinou/weasyprint-pug-sass-template
pug sass weasyprint
Last synced: 9 days ago
JSON representation
Template to get started quickly with WeasyPrint + Pug + Sass
- Host: GitHub
- URL: https://github.com/calinou/weasyprint-pug-sass-template
- Owner: Calinou
- License: mit
- Created: 2018-12-05T15:21:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T00:36:12.000Z (over 1 year ago)
- Last Synced: 2024-12-16T04:28:40.051Z (12 days ago)
- Topics: pug, sass, weasyprint
- Language: Pug
- Homepage:
- Size: 792 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# WeasyPrint + Pug + Sass template
**A template to get started quickly with WeasyPrint + Pug + Sass.**
## Requirements
- [Node.js](https://nodejs.org/)
- [Yarn](https://yarnpkg.com/)
- [Python](https://www.python.org/)## Usage
1. Clone this repository or [download a ZIP archive](https://github.com/Calinou/weasyprint-pug-sass-template/archive/master.zip).
2. Install the project dependencies:
```bash
# Make sure `weasyprint` is available in the PATH after installation
pip install --user weasyprint
yarn install
```Only Yarn is currently supported. npm may be supported in the future,
but keep in mind running scripts using Yarn is slightly faster than npm.3. Run one of the commands below to start development
or build for production. The source files are located in `src/`;
if all goes well, the generated PDF will be available in `dist/`.## Available npm scripts
```bash
# Watch for changes and rebuild automatically
yarn dev# Build once for production
yarn prod# Remove generated files
yarn clean
```## License
Copyright © 2018-2019 Hugo Locurcio and contributors
Unless otherwise specified, files in this repository are licensed under
the MIT license; see [LICENSE.md](LICENSE.md) for more information.