https://github.com/openlayers/ol-parcel
OpenLayers + Parcel
https://github.com/openlayers/ol-parcel
Last synced: 19 days ago
JSON representation
OpenLayers + Parcel
- Host: GitHub
- URL: https://github.com/openlayers/ol-parcel
- Owner: openlayers
- Created: 2018-07-04T14:41:31.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T17:56:18.000Z (about 2 years ago)
- Last Synced: 2025-01-19T07:14:10.826Z (12 months ago)
- Language: HTML
- Size: 319 KB
- Stars: 21
- Watchers: 6
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OpenLayers + Parcel
This example demonstrates how the `ol` package can be used with Parcel.
To get started, run the following (requires Node 12+):
npx create-ol-app my-app --template parcel
Then change into your new `my-app` directory and start a development server (available at http://localhost:1234):
cd my-app
npm start
To generate a build ready for production:
npm run build
Then deploy the contents of the `dist` directory to your server.