简体   繁体   English

将AngularJS添加到现有的node-express-mysql应用程序

[英]Adding AngularJS to existing node-express-mysql app

I am new to AngularJS and would like to install it on an existing Node-Express-MySQL-Passport-EJS based app. 我是AngularJS的新手,想将其安装在现有的基于Node-Express-MySQL-Passport-EJS的应用程序上。

Where should I start? 我应该从哪里开始? Do I have to install Grunt and Bower first? 我必须先安装Grunt和Bower吗?

I'm aware of the Mean.js stack but I don't use Mongo, my database is relational. 我知道Mean.js堆栈,但是我不使用Mongo,我的数据库是关系型的。

You can use angular as is using the files. 您可以像使用文件一样使用角度。 You can install it using "npm" or "bower" as well. 您也可以使用“ npm”或“ bower”进行安装。 https://github.com/angular/bower-angular https://github.com/angular/bower-angular

Grunt may be necessary if you want run any tasks to your app, any automation stuff like minification etc. Grunt is basically task runner. 如果您想对应用程序运行任何任务,诸如缩小等任何自动化工作,则可能需要Grunt。Grunt基本上是任务运行器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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