Get started with Aurelia – TypeScript – ASP.NET 5 – VS Code
A while ago I wrote a blog post about how to get up and running with the Aurelia skeleton for TypeScript on ASP.NET 5 (This Aurelia Skeleton on ASP.NET 5). But now the Aurelia team now have their own setup, making it even easier to get started! 🙂
Things that need to be installed on your system:
- ASP.NET 5
Node packages that needs to be installed globally:
Get the code
Go to the Aurelia skeleton repo on GitHub
Download as zip, use GitHub for Desktop or whatever you prefer.
Open a cmd prompt in the project root and install the project dependencies with:
- npm install
- jspm install
Build the code
In the cmd prompt, use the following to build the client side code:
Then open VS Code and open the folder skeleton-navigation\skeleton-typescript-asp.net5\src
VS Code will the prompt and ask to restore missing packages, accept this request.
Now start the ASP.NET 5 host by typing the following in the cmd prompt:
Now open a browser and go to http://localhost:9000, if everything has worked, you should see the Aurelia navigation skeleton!
Happy coding 🙂