Skip to content

Instantly share code, notes, and snippets.

@b2l
Created February 4, 2015 10:49
Show Gist options
  • Save b2l/d43c80a3f4686bf445b8 to your computer and use it in GitHub Desktop.
Save b2l/d43c80a3f4686bf445b8 to your computer and use it in GitHub Desktop.
mnd-bootstrap

mnd-bootstrap

Here are some tips to work with the styleguide.

1- Use mnd-bootstrap from an other project

Classic worflow here, you have to create a component, change some style, etc... for a scree in some application (lets say mndx-web). As usual, you will implement the style in the mnd-bootstrap project and use the styleguide to check what you are doing. But before you push your change and release a new version, you want to try those change in the mndx-web. With bower, you can add a local dependency, here is how it works:

In mnd-bootstrap:

bower link
# Create a local link name mnd-bootstrap to this project

In mndx-web:

bower link mnd-bootstrap
# Install mnd-bootstrap from the local link

And you are done, every change made in the mnd-bootstrap project are available for you in the mndx-web app.

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