Configure Aurelia Project using Visual Studio

前端 未结 6 1877
梦谈多话
梦谈多话 2020-12-28 09:19

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

相关标签:
6条回答
  • 2020-12-28 09:52

    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.

    0 讨论(0)
  • 2020-12-28 09:55

    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

    0 讨论(0)
  • 2020-12-28 09:57

    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

    0 讨论(0)
  • 2020-12-28 10:02
    • 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

    0 讨论(0)
  • 2020-12-28 10:04

    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.

    0 讨论(0)
  • 2020-12-28 10:09

    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

    0 讨论(0)
提交回复
热议问题