Local Instalation served by Vite =8-)
-
This is a local instalation of the development documents for OpenLayers
-
If you're eager to get your first OpenLayers map on a page, dive into the quick start
-
For a more in-depth overview of OpenLayers core concepts, check out the tutorials.
-
Make sure to also check out the OpenLayers workshop.
-
Find additional reference material in the API docs and examples.
-
Great option when developing a OpenLayers site using JavaScript or Vue 3
-
Docs adapted using a vanilla javascript Vite 3 template auto open when loaded.
-
⚡️ Vite 3 - born with fastness. Requires Node >=v14.18
Clone it to your local myDevFolder
- Clone it to your local myDevFolder. With a cleaner git history, using pnpm (highly recommended)
cd /myDevFolder
npx degit lcsd/olv710vite # If you don't have degit installed, run: npm install -g degit
cd ./olv710vite
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
code .
- Simply install option using npm
cd /myDevFolder
git clone lcsd/olv710vite
cd ./olv710vite
cd olv710vite
npm i # or you cam use pnpm i
code .
- Using a zipped downloaded copy of this repository
>> download the olv710vite.zip file
>> move it to /myDevFolder, extract the folder
cd /myDevFolder/olv710vite
pnpm i | npm i # install packages with your manager
code . # open it with vscode; vite will server and open it
cd /myDevBaseFolder
pnpm create vite | npm create vite@latest
>> follow options (selecetd vanilla: html/javascript)
cd ./your-proj-folder
pnpm i | npm i
code .