Skip to content

slideroom/skeleton-navigation-typescript

 
 

Repository files navigation

aurelia-skeleton-typescript

Changes

Added the following features to the default aurelia webpack typescript project

  • async / await (users.ts)
  • autoinject (users.ts)
  • pushstate
  • animations
  • postcss (autoprefixer, precss, lost)
    • cleaned up styles
  • bluebird promises
  • fixed splash flicker

Getting started

Before you start, make sure you have a working NodeJS environment, preferably with NPM 3.

From the project folder, execute the following command:

npm install aurelia-cli -g
npm install

This will install all required dependencies.

If the TypeScript references do not work or you get some runtime errors you can try to execute the following command:

npm dedupe

To run the app execute the following command:

au run --watch

This command starts the development server that serves the app. You can now browse the skeleton app at http://localhost:9000. Changes in the code will automatically build and reload the app.

Bundling

To build a development bundle execute:

au build

To build an optimized, minified production bundle execute:

au build --env prod

The production bundle includes all files that are required for deployment.

Testing

To run the unit tests:

au test

About

aurelia vscode typescript sample based on skeleton-navigation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.9%
  • HTML 15.4%
  • JavaScript 13.1%
  • CSS 8.6%