FirebaseGoodies / FireAdmin

:seedling: A mini headless CMS built with Angular & Firebase
https://firebasegoodies.github.io/FireAdmin/demo/login?email=guest@fireadmin.com&password=fireadmin
MIT License
80 stars 23 forks source link

Question: build demo #10

Closed rajesh99 closed 4 years ago

rajesh99 commented 4 years ago

Hi, I checked out the FireAdmin project I did npm install Then, wanted to explore. I did

The changes are not visible in the running demo.

Question: Is build of demo dependent on the build on the fire-admin? I am not sure.

Do we have to build the fire-admin separately in separate window, and then do the 'npm start' in another window?

AXeL-dev commented 4 years ago

Question: Is build of demo dependent on the build on the fire-admin? I am not sure.

Do we have to build the fire-admin separately in separate window, and then do the 'npm start' in another window?

If you load the module from the src files (as below) not from node_modules then you do not have to build/rebuild it each time you did a modification on the library.

https://github.com/FirebaseGoodies/FireAdmin/blob/92de1d23488e419df0536afa0df00182353b3dff/projects/demo/src/app/app-routing.module.ts#L9

Then, wanted to explore. I did

* npm start

* I made small changes in the projects/fire-admin/src/components/dashboard/dashboard.component.html

The changes are not visible in the running demo.

I did the same & it worked, so unless you changed the routing on the demo it should work. So, just ensure that the routing on the demo app is well set then try again with npm start.

rajesh99 commented 4 years ago

ok. tried again.

Looks like it works. It's an interesting way of handling the lib during demo/development.

On Sun, Nov 1, 2020 at 2:50 PM AXeL notifications@github.com wrote:

Question: Is build of demo dependent on the build on the fire-admin? I am not sure.

Do we have to build the fire-admin separately in separate window, and then do the 'npm start' in another window?

If you load the module from the src files (as below) not from node_modules then you do not have to build/rebuild it each time you did a modification on the library.

https://github.com/FirebaseGoodies/FireAdmin/blob/92de1d23488e419df0536afa0df00182353b3dff/projects/demo/src/app/app-routing.module.ts#L9

Then, wanted to explore. I did

  • npm start

  • I made small changes in the projects/fire-admin/src/components/dashboard/dashboard.component.html

The changes are not visible in the running demo.

I did the same & it worked, so unless you changed the routing on the demo it should work. So, just ensure that the routing on the demo app is well set then try again with npm start.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FirebaseGoodies/FireAdmin/issues/10#issuecomment-720058507, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMX2DGUPURIW33C5ZMPOHLSNUR4VANCNFSM4TGMEMEQ .

-- Rajesh www.servicefolder.com Field Service Software on Google Cloud Platform and Mobile