本文介绍了Angular2和NodeJ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用NodeJ创建带有REST服务的Angular2项目.尽管我发现有些教程/示例代码可以进行此类应用,但是代码/项目的组织形式却彼此不同.我正在尝试找出迄今为止最好的方法.
I'm trying to create an Angular2 project with a REST service, using NodeJs. Although I found some tutorials/sample codes doing this kind of applications, the organization of the code/project is different form each other. I'm trying to figure out what's the best way so far to do that.
基本上,
- 用NodeJ后端创建Angular2项目的最佳方法是什么?
- 文件夹结构应该是什么?
- 将Angular代码(带有TypeScript)放在哪里?
- 如何使用Bower/Gulp?
- Angular2 + NodeJS和其他一些示例: thejackalofjavascript/developing-a-mean-app-with-angular-2-0/
- 您可以使用Angular-Cli创建初始项目结构: github/angular/angular-cli
- Gulp教程: scotch.io/tutorials/automate-your-tasks-easily-with-gulp-js
- 我不建议使用凉亭.请改用npm,因为它更稳定,并且从工具中获得更多支持.
- A sample of Angular2 + NodeJS and a few other things: thejackalofjavascript/developing-a-mean-app-with-angular-2-0/
- You can use Angular-Cli to create the initial project structure: github/angular/angular-cli
- Gulp tutorial: scotch.io/tutorials/automate-your-tasks-easily-with-gulp-js
- I do not recommend using bower. Use npm instead, as it is more stable, and has more support from the tools.
更多推荐
Angular2和NodeJ
发布评论