简体   繁体   中英

How to integrate Angular into my current Firebase node.js project?

I have a web app that I have coded in bare javascript for now and has a firebase backend. How can I add Angular to my current project to use it for MVC?

您可以使用官方库: https : //github.com/angular/angularfire2

There are many ways to do this but the general steps you must take are essentially:

  • Download and import the required angular2 libraries
  • Move html into templates as per angular2 documentation
  • add JS to components, services, directives, etc to fit the required structure of an angular 2 application

Depending on your restrictions I would recommend Angular CLI for generating the boiler plate code for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM