-
Notifications
You must be signed in to change notification settings - Fork 170
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
Patternlab interaction #24
Comments
@andresgalante I'll try to write this up in the correct place, but I'm afraid I don't have time to get into too much detail here Make sure the Pattern Lab and style guide repositories are sitting adjacent to each other, like so:
In the Pattern Lab repo, you'll have a Gulp or Grunt copy task that ports over the appropriate assets to the style guide repo, which you would run like:
This command will copy the following files and directories into the style guide project file structure:
The relevant part of the gulp file looks something like:
Hope that's helpful. Again, I'll try to write that up in a better place soon. |
This is awesome, thank you very much for taking the time to guide me. While I go through the process I'll document it and send a PR to the README. Again, thanks a lot. |
Hello - I considered doing this through Grunt but wondered if there was a way to do this with the https://github.com/Comcast/patternlab-edition-node-webpack version with the build in Webpack. |
I ended up just using the patternlab node version and inside the style guide i'm copying files from patternlab. I am more familiar with Gruntjs so I used grunt-contrib-copy and thought i'd share the Gruntfile config for it here.
Thanks for all the hard work. |
Hi, I know that this things take a lot of time and effort, if you can complete the "Importing components and assets from Pattern Lab" section it'd help me a lot 😄
Thanks a lot and if let me know if I can help in anyway
The text was updated successfully, but these errors were encountered: