Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify template files via configuration #683

Closed
bmuenzenmeyer opened this issue Sep 17, 2017 · 2 comments
Closed

Specify template files via configuration #683

bmuenzenmeyer opened this issue Sep 17, 2017 · 2 comments

Comments

@bmuenzenmeyer
Copy link
Member

bmuenzenmeyer commented Sep 17, 2017

patternlab-config.json paths

{
  "paths" : {
    "source" : {
      "root": "./source/",
      "patterns" : "./source/_patterns/",
      "data" : "./source/_data/",
      "meta": "./source/_meta/",
      "annotations" : "./source/_annotations/",
-      "styleguide" : "./node_modules/styleguidekit-assets-default/dist/",
+      "styleguide" : "./node_modules/@pattern-lab/styleguidekit-assets-default/dist/",
-     "patternlabFiles" : "./node_modules/styleguidekit-mustache-default/views/",
+     "patternlabFiles" : {
+       "general-header": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/general-header.mustache",
+       "general-footer": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/general-footer.mustache",
+       "patternSection": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/patternSection.mustache",
+       "patternSectionSubtype": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/partials/patternSectionSubtype.mustache",
+       "viewall": "./node_modules/@pattern-lab/styleguidekit-mustache-default/views/viewall.mustache"
+     },
      "js" : "./source/js",
      "images" : "./source/images",
      "fonts" : "./source/fonts",
      "css" : "./source/css/"
    },
    "public" : {
      "root" : "./public/",
      "patterns" : "./public/patterns/",
      "data" : "./public/styleguide/data/",
      "annotations" : "./public/annotations/",
      "styleguide" : "./public/styleguide/",
      "js" : "./public/js",
      "images" : "./public/images",
      "fonts" : "./public/fonts",
      "css" : "./public/css"
    }
  },
@bmuenzenmeyer bmuenzenmeyer added this to the 3.0.0 milestone Sep 17, 2017
bmuenzenmeyer added a commit to pattern-lab/edition-node-gulp that referenced this issue Sep 17, 2017
@bmuenzenmeyer bmuenzenmeyer self-assigned this Sep 17, 2017
@bmuenzenmeyer
Copy link
Member Author

Still should update grunt config

@bmuenzenmeyer
Copy link
Member Author

this should address in part #285 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant