Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Aurelia Framework without NodeJs and JSPM

Tags:

.net

aurelia

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

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

Its possible to run Aurelia Framework without install NodeJS.

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

like image 837
virender Avatar asked Feb 07 '15 15:02

virender


People also ask

How to run Aurelia app?

Running Your Aurelia AppFrom inside your project folder, simply execute au run . This will build your app, creating all bundles in the process. It will start a minimal web server and serve your application. The dev web server by default auto-refreshes your browser when source code changes.

Is Aurelia a good framework?

Aurelia works well with other frameworks and has an advantage in interoperability over Angular. For example, Developers can use React components by creating a custom Aurelia element. Aurelia also works with Polymer, since they're both based on the WebComponents standards.

How does Aurelia work?

Aurelia uses convention over configuration. The first convention it executes looks for the App component. Components are central to Aurelia and they all follow a View/View-Model pattern where a html file is used for the view and a JavaScript file for a view-model. Having the same name binds the files together.

How do I create Aurelia project?

To create the project, run au new from the command line. You will be presented with a number of options. Name the project "todo" and then select either the "Default ESNext" or "Default TypeScript" option depending on what is most comfortable for you. (Do not select "Custom" for this tutorial.)


2 Answers

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

if you are interested, here are the details on how the bundle is created

like image 113
Mike Graham Avatar answered Sep 29 '22 09:09

Mike Graham


Yes and no.

Yes - you can write and execute Aurelia on Visual studio. No - you will still have to install all the supporting modules (such as NodeJS and JSPM) on your set up machine.

To play around with Aurelia on Visual Studio (2013) try this set up. Demo Navigation app in VS Follow the set up instruction to install the modules.

This demo was written with an older version Typescript. If you update the Typescript to the latest version (v1.4), then the template strings will work.

like image 39
Chi Row Avatar answered Sep 29 '22 09:09

Chi Row