Questions tagged [patternlab.io]

Pattern Lab is, at its core, a static site generator. It combines platform-agnostic assets, like the Mustache-based patterns and the JavaScript-based viewer, with a PHP-based or Node-based "builder" that transforms and dynamically builds the Pattern Lab site. By making it a static site generator, Pattern Lab strongly separates patterns, data, and presentation from build logic.

Read more about Pattern Lab at http://patternlab.io/

52 questions
0
votes
1 answer

Pattern Lab: "Your styleguide won't render because i can't find your styleguide files...."

I was trying to generate the Pattern Lab site after their new upgrade, however, after I downloaded all the dependencies, it kept complaining that my style guide won't render because the styleguide files cannot be found at…
SOF.E
  • 3
  • 3
0
votes
1 answer

Generating Patterns in Pattern Lab

I have managed to install and run the mustache version of Pattern Lab. Now I wanted to install the thin version, I have used composer to install the thin version of Pattern Lan with the following command: composer create-project…
user2371684
  • 1,475
  • 5
  • 20
  • 45
0
votes
2 answers

Front page in Pattern Lab

I am interested in adding a front page to Pattern Lab. Rather than starting with the contents in "Atoms" (see image), I would like to start with a style guide. I tried adding a folder, "Main", before "Atoms" with a mustache file, but (1) I was…
c.doe
  • 1
0
votes
1 answer

How to use Pattern Lab generated templates in a project?

We're using the node version of Pattern Lab to generate a styleguide for our new site build and we're also hoping to utilise the Pattern Lab generated template files inside our ecommerce platform's templates. Is there a way to create another version…
Damodog
  • 344
  • 1
  • 5
  • 15
0
votes
1 answer

Trying to call partials in mustache.php

Trying to call a mustache partial using mustache.php. I'm certain I'm messing something up, because the documentation seems to express that you can do what I'm trying to do. $m = new Mustache_Engine(array( 'loader' => new…
Ashleigh
  • 35
  • 7
0
votes
1 answer

Pattern Lab: changing the title

The title is currently 'Pattern Lab' and I can't seem to change it. I've tried changing it in '_00-head.mustache' and also in '_data.json' but neither works.
Gus Powell
  • 55
  • 2
  • 14
0
votes
1 answer

Change directory of css in patternlab

I want to change the directory of the style.css file in the pattern lab setup, how and where do I do this? I have a whole booststrap sass project setup already and I want patternlab to use the current files for this projects.
user1937021
  • 10,151
  • 22
  • 81
  • 143
1 2 3
4