在没有 NodeJs 和 JSPM 的情况下运行 Aurelia 框架 [英] Run Aurelia Framework without NodeJs and JSPM

查看:29
本文介绍了在没有 NodeJs 和 JSPM 的情况下运行 Aurelia 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习 Aurelia 框架.我在 NodeJs 和 JSPM 中看到了给定示例的文档.

I am learning Aurelia Framework. I seen its document given example in NodeJs and JSPM.

但我没有 NodeJs 和 JSPM.我来自 .Net 背景.

But I don't have NodeJs and JSPM. I am from .Net background.

无需安装 NodeJS 即可运行 Aurelia 框架.

Its possible to run Aurelia Framework without install NodeJS.

我想像添加标签和添加 CDN 链接一样运行 Aurelia 框架.可能吗?

I want run Aurelia Framework just like add tag and add CDN link. Its possible ?

推荐答案

您可以在 Visual Studio 中编写和执行 Aurelia,无需 NodeJS 或 JSPM.这是 Aurelia 骨架导航到 TypeScript 的端口,它使用了一组 Aurelia AMD 库.您应该能够克隆存储库,然后在 Visual Studio 中加载它并运行应用程序(使用 Chrome),无需任何其他操作.

You can write and execute Aurelia in Visual Studio without NodeJS or JSPM. Here is a port of the Aurelia skeleton-navigation to TypeScript which uses a bundle of the Aurelia AMD Libraries. You should be able to clone the repo and then load this up in Visual Studio and run the app (using Chrome) without any other action.

https://github.com/cmichaelgraham/aurelia-typescript#just-use-it---visual-studio-using-requirejs-amd-module-loader

如果您有兴趣,这里是有关如何创建包的详细信息

这篇关于在没有 NodeJs 和 JSPM 的情况下运行 Aurelia 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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