Skip to content

A simple Webpack + vue-loader setup for quick prototyping. With Leaflet

Notifications You must be signed in to change notification settings

simtrax/webpack-simple-leaflet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simtrax/webpack-simple-leaflet

A simple Vue 2.0 Webpack & vue-loader setup for quick prototyping.

Leaflet is included to give a quick introduction to using Leaflet with Vue

Getting started

$ npm install -g vue-cli
$ vue init simtrax/webpack-simple-leaflet {your project name without squiggly brackets}
$ cd {your project name without squiggly brackets}
$ npm install
$ npm run dev

npm install Will install all the dependencies including Vue and Leaflet. It's a lof of files, but don't worry about it. They will be hidden in the node_modules folder in the project root folder.

npm run dev Will start a dev server that uses webpack to minimize all JavaScript into a single file. It will also make it possible to use Vue components.

When the above command is executed your web browser will open a new window pointed at the dev server.

About

A simple Webpack + vue-loader setup for quick prototyping. With Leaflet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.8%
  • Vue 30.1%
  • HTML 9.1%