dudeNumber4
dudeNumber4

Reputation: 4697

Configure Aurelia Project using Visual Studio

I know it's very new, but I'd like to create a prototype using aurelia with Visual Studio. VS support is in the hopper, but the current documentation is based on node.js et al. Based on the existing documentation, I haven't a clue. I'm hoping I can get some guidance...

Upvotes: 12

Views: 11163

Answers (6)

pungggi
pungggi

Reputation: 1263

  • Download and Install Node.js Then create a Visual Studio project and on the toplevel of that folder execute for>
  • Install Gulp for build automation

npm install -g gulp

  • Install JSPM as client-side package manager

npm install -g jspm

  • Install Git for Windows and configure Github

jspm registry config github

  • Generate a skeleton project by using Yeoman

npm install -g yo generator-aurelia

then enter

yo aurelia

  • Install Plugins needed by gulp

npm install

  • Install JSPM dependencies of the package manifest

jspm install -y

  • Gulp Watch to run

gulp watch

all from this tutorial> Tutaurelia.net

Upvotes: 3

Gene Reddick
Gene Reddick

Reputation: 4655

Not sure this is what you are looking for, but you can check out this github Aurelia project, using Typescript and VS 2013. It still makes use of gulp and jspm but with the VS Taskrunner extension.

https://github.com/AshleyGrant/aspnet-skeleton-navigation

There is now a default project supporting VS 2015: https://github.com/aurelia/skeleton-navigation

Upvotes: 13

Boudewijn van Veen
Boudewijn van Veen

Reputation: 427

You can try this https://github.com/BoudewijnvanVeen/Aurelia-Typescript-Skeleton-4VS

Lets you run an Aurelia application using Visual Studio with Typescript debugging.doesnt use Gulp

Upvotes: 1

Matt McCabe
Matt McCabe

Reputation: 3446

Visual Studio Code would work well with Aurelia, I had a play around with the demo and the skeleton app and it worked pretty well.

Upvotes: 2

virender
virender

Reputation: 4647

I tried to run Aurelia Visual Studio Project without Nodejs .

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

But it not able to find "http://lcoalhost:6260/aurelia/core-js/client/core.js".

that means we need make sure that NodeJs installed on server with this command

run node r.js -o name=aurelia-bundle-manifest baseUrl=. mainConfigFile=main-config.js out=aurelia-bundle.min.js

Need to create bundling into server like

https://github.com/cmichaelgraham/aurelia-typescript#bundling

Upvotes: 0

Mike Graham
Mike Graham

Reputation: 1044

There are several sample Aurelia Visual Studio solutions contained here: aurelia typescript samples

These samples use a javascript bundle (also created as part of the repo), so no gulp is needed.

Warning - these are samples and are not polished.

Upvotes: 4

Related Questions