Aurelia is new framework so the best practices are yet to be established. In this chapter we give you some useful guidelines you can follow.
Starting New Project
Aurelia offers aurelia-skeletons. There are couple of skeletons to choose from. The team behind Aurelia is actively supporting the skeletons, and they are always up to date with the newest version of the framework.Aurelia Skeletons
- skeleton-es2016-webpack allows you to write ES2016 code and use NPM for package management and webpack for bundling.
- skeleton-es2016 allows you to write ES2016 code and use JSPM for package management and SystemJS for loading and bundling.
- skeleton-typescript-webpack allows you to write TypeScript code and use NPM for package management and webpack for bundling.
- skeleton-typescript allows you to write TypeScript code and use JSPM for package management and SystemJS for loading and bundling.
- skeleton-typescript-asp.net5 allows you to write TypeScript code and use JSPM for package management and SystemJS for loading and bundling. The ASP.NET backend is also integrated.
- skeleton-es2016-asp.net5 allows you to write ES2016 code and use JSPM for package management and SystemJS for loading and bundling. The ASP.NET backend is integrated.
C:\Users\username\Desktop>git clone https://github.com/aurelia/skeleton-navigation.git
Folder Structure
You are free to use any folder structure you want. If you are not sure where to start, you can use our folder structure as image below shows. The image represents files and folder in src directory.
No comments:
Post a Comment