Skip to content

Template for vue, firebase, mapbox-gl-js, etc.

Notifications You must be signed in to change notification settings

edanweis/vue-mappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mappy

An example for how to wrap the mapbox-gl-vue component with a Vuex store and firebase.

Notes

You must provide a credentials.js file in the src folder with the code:

module.exports  = {
	firebase: {
		apiKey : "firebase-api-key-here",
		databaseURL: "https://mappy-mappy.firebaseio.com",
	},
	mapbox: {
		token: "mapbox-token-here"
	}
}

Todo

[ ] Bind mounted Vue components to computed properties (?) so Marker updates with changes to Vuexfire state.

About

Template for vue, firebase, mapbox-gl-js, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published