1.0.0 • Published 3 years ago
mirage3d v1.0.0
OpenLayers + Vite
This example demonstrates how the ol package can be used with Vite.
To get started, run the following (requires Node 12+):
npx create-ol-app my-app --template viteThen change into your new my-app directory and start a development server (available at http://localhost:3000):
cd my-app
npm startTo generate a build ready for production:
npm run buildThen deploy the contents of the dist directory to your server. You can also run npm run serve to serve the results of the dist directory for preview.
1.0.0
3 years ago