Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
patternlibrary
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
js
patternlibrary
Commits
d78f7bad
Commit
d78f7bad
authored
May 08, 2017
by
Björn Bartels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
9641e3a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
readme.md
readme.md
+9
-4
No files found.
readme.md
View file @
d78f7bad
...
...
@@ -6,15 +6,16 @@ Panini isn't a full-fledged static site generator—rather, it solves the ve
## Installation
For now, just add
```
bash
"patternlibrary"
:
"file:
../../js
/patternlibrary"
"patternlibrary"
:
"file:
path/to
/patternlibrary"
```
to your
**package.json**
file.
to your
`package.json`
file.
Once this might be ready, install via npm
```
bash
...
...
@@ -23,6 +24,7 @@ npm install patternlibrary --save-dev
## Usage
Feed the pattern-library a stream of HTML files, and get the compiled patterns and a frontend out the other end.
...
...
@@ -62,6 +64,7 @@ gulp.watch(['./src/{layouts,partials,helpers,data}/**/*'], [patternlibrary.refre
## Options
### `dest`
...
...
@@ -110,12 +113,13 @@ Set panini options. **mandatory**
## CLI
You can (currently not yet) use the pattern-library via the CLI.
```
THIS IS SUBJECT TO CHANGE! D O N O T U S E ! ! !
Usage: patternlibrary --layouts=[layoutdir] --root=[rootdir] --dest=[destdir] [other options]
Options:
...
...
@@ -125,8 +129,9 @@ Options:
--partials path to root folder for partials
--helpers path to folder for additional helpers
--data path to folder for additional data
...
Example: patternlibrary --root=src/pages --layouts=src/layouts --partials=src/partials --data=src/data --output=dist
'src/pages/**/*.html'
Example: patternlibrary --root=src/pages --layouts=src/layouts --partials=src/partials --data=src/data --output=dist
...
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment