Installation
NB: With many very system dependent pkgs, unpkg shouldn't be used, because it doesn't do any system related stuff, on purpose. But for simple applications (and even ones that just install.
- Install Material-UI, the world's most popular React UI framework. Material-UI is available as an npm package. To install and save in your package.json dependencies, run: // with npm npm install @material-ui / core // with yarn yarn add @material-ui / core. Please note that react = 16.8.0 and react-dom = 16.8.0 are peer.
- There are several ways to install Sass in your system. There are many applications that will get you up and running with Sass in a few minutes for Mac, Windows, and Linux.
Onsen UI has several quick and easy ways to get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.
Onsen UI
Compiled and minified JavaScript, CSS and resources. Web Components version.
Download Onsen UISource Code
Source CSS, JavaScript, and other related files. Build instructions.
See GitHub RepoFramework Bindings
Onsen UI is framework agnostic. Pure JavaScript, jQuery, AngularJS, Angular 2+, React, Vue.js…
Read moreOnsen UI CDN
Unpkg provides CDN support for Onsen UI’s CSS and JavaScript. Just use these CDN links.
Install with NPM
You can also use the Node Package Manager (NPM) to install Onsen UI:
Command line tool to package for mobile apps - Monaca CLI
Monaca CLI is deeply integrated with Onsen UI to provide a simple & quick build process for Cordova hybrid apps. Please refer to the Monaca CLI Tutorial to better understand the program’s installation and workflow. For more detailed information on the development feature provided by Monaca, please refer to What is Monaca.
Old Releases & Changelogs
Onsen UI releases and changelogs can be seen at OnsenUI/OnsenUI-dist. The source repository is hosted in OnsenUI/OnsenUI. Please give us a ★!
Download Leaflet
Version | Description |
---|---|
Leaflet 1.7.1 | Stable version, released on September 3, 2020. |
Leaflet 1.8-dev | In-progress version, developed on the master branch. |
Leaflet 0.7.7 | Legacy version, released on November 18, 2013 and last updated on October 26, 2015. |
Note that the master version can contain incompatible changes,so please read the changelog carefully when upgrading to it.
Using a Hosted Version of Leaflet
The latest stable Leaflet release is available on several CDN’s — to start usingit straight away, place this in the head
of your HTML code:
To avoid potential security problems, we recommend and encourage enablingsubresource integritywhen using Leaflet from a CDN:
Leaflet is available on the following free CDN’s: unpkg, cdnjs, jsDelivr
Disclaimer: these services are external to Leaflet; for questions or support, please contact them directly.
Using a Downloaded Version of Leaflet
Inside the archives downloaded from the above links, you will see four things:
leaflet.js
- This is the minified Leaflet JavaScript code.leaflet-src.js
- This is the readable, unminified Leaflet JavaScript, which is sometimes helpful for debugging. (The integrity hash for this file issha512-I5Hd7FcJ9rZkH7uD01G3AjsuzFy3gqz7HIJvzFZGFt2mrCS4Piw9bYZvCgUE0aiJuiZFYIJIwpbNnDIM6ohTrg )leaflet.css
- This is the stylesheet for Leaflet.images
- This is a folder that contains images referenced byleaflet.css
. It must be in the same directory asleaflet.css
.
Unzip the downloaded archive to your website’s directory and add this to the head
of your HTML code:
Using a JavaScript package manager
If you use the npm
package manager, you can fetch a local copy of Leaflet by running:
You will find a copy of the Leaflet release files in node_modules/leaflet/dist
.
Leaflet Source Code
These download packages above only contain the library itself.If you want to download the full source code, including unit tests, files for debugging, build scripts, etc.,you can download itfrom the GitHub repository.
Building Leaflet from the Source
Leaflet build system is powered by the Node.js platform,which installs easily and works well across all major platforms.Here are the steps to set it up:
- Run the following command in the command line:
Now that you have everything installed, run npm run build
inside the Leaflet directory.This will combine and compress the Leaflet source files, saving the build to the dist
folder.
Install Unpkg Windows 8
© 2010–2021 Vladimir Agafonkin. Maps © OpenStreetMap contributors.