Skip to content

Commit

Permalink
Merge pull request #139 from kqpham/patch-1
Browse files Browse the repository at this point in the history
Update Readme.md
  • Loading branch information
robpvn authored Aug 16, 2018
2 parents 095a455 + e25a182 commit b0ff0e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,7 @@ The MiniMap fires `minimize`, `restore` events and `toggle` for both.
First, install node.js on your system. Then run `npm install` to get the dependencies, and `npm build` to build
the minified js and css. Use `npm test` to lint the code so you can check that it follows our
coding standard. (Any pull requests will be checked this way by the build server.)

## Loading minified version through node modules
Node modules does not link css to minified version directly.
Add`require('../../node_modules/leaflet-minimap/dist/Control.MiniMap.min.css');` to the code.

0 comments on commit b0ff0e6

Please sign in to comment.