如何创建一个本地主机服务器来运行AngularJS项目 [英] How to create a localhost server to run an AngularJS project

查看:129
本文介绍了如何创建一个本地主机服务器来运行AngularJS项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Xampp时和JetBrain WebStorm运行一个AngularJS项目。但它的复杂和低performance.Is有任何其他的方式来运行一个AngularJS项目?

i have used Xampp and JetBrain WebStorm to run an AngularJS project. But it's complicated and low performance.Is there any other way to run an AngularJS project?

推荐答案

如果你正在运行的node.js HTTP服务器是超级容易。安装: NPM安装-g HTTP服务器。安装完成后 CD 到项目文件夹,然后运行 HTTP服务器-o -o 是打开浏览器页面。

if you're running node.js http-server is super easy. Install: npm install -g http-server. After installation cd into your project folder and run http-server -o. -o is to open browser to the page.

这篇关于如何创建一个本地主机服务器来运行AngularJS项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆