-
Notifications
You must be signed in to change notification settings - Fork 12
How to develop the component
stefano edited this page Aug 24, 2017
·
8 revisions
git clone https://github.com/elasticrash/Angular.io.MapViewer.git
git clone https://github.com/elasticrash/Angular2.leaflet.component.git
npm install
on both of them
then
on ngx.leaflet.component project do npm link
on Angular.io.MapViewer.git project do npm link ngx.leaflet.components
and npm start
now the component library is always synced with the test app, so any changes you do are immediately reflected on the test app. But don't forget to run tsc
after every change
info The obvious things that I am not stating is that you need the following
typescript npm install -g typescript