CityOfPhiladelphia / mapboard

A framework for data-rich web mapping 🌎📊✨
29 stars 9 forks source link

Create a store.js in all libraries (phila-vue-mapping, phila-vue-comps, phila-vue-datafetch), and move things from Mapboard store.js to those files #186

Closed ajrothwell closed 5 years ago

ajrothwell commented 5 years ago

When each set of components was moved into different libraries, the parts of the Store that those components need to access stayed in the Mapboard library.

This made it possible to use the separate libraries only when you used Mapboard, or used a very similar copy of Mapboard (with a copy of the Mapboard Store), so that the components had everything they needed in the store.

By setting up correct stores for each library, the libraries will be useable independently, and for smaller projects.

This process has already begun in the MoveStore branches of each library.

An example app that uses datafetch alone is here: http://pvd-example-app.s3-website-us-east-1.amazonaws.com/

An example app that uses comps alone is here: http://pvc-example-app.s3-website-us-east-1.amazonaws.com/

ajrothwell commented 5 years ago

the AirTable for keeping track of this is here; https://airtable.com/tblI3Y8AH3WckeHQP/viw0bseuOdJqib3Rp