cccamp19-map/_readme_.md

21 lines
384 B
Markdown
Raw Normal View History

2016-12-24 18:27:32 +00:00
# OpenLayers + Webpack
This example demonstrates how the `ol` package can be used with webpack 2.
2016-12-24 18:32:40 +00:00
Clone the project.
git clone git@gist.github.com:79025aef325cd2837364400a105405b8.git ol-webpack
2016-12-24 18:27:32 +00:00
Install the project dependencies.
2016-12-24 18:32:40 +00:00
cd ol-webpack
2016-12-24 18:27:32 +00:00
npm install
Create a bundle for the browser.
npm run build
Open `index.html` to see the result.
open index.html