vuorinem / aspnet-aurelia-webpack-skeleton

Application skeleton for starting Aurelia application on ASP.NET Core with Webpack.
15 stars 9 forks source link
aspnetcore aurelia webpack

Notice: This template uses ASP.NET Core SPA services that are now obsolete, and will be removed on .NET 5. For new projects, I recommend using Aurelia CLI.

ASP.NET Core / Aurelia / Webpack Skeleton

This is a SPA skeleton application for developing on Aurelia with ASP.NET Core server, using Webpack as the module / asset bundler.

The main focus is in the developer experience when using Visual Studio.

Preparing

Run dotnet restore to install .NET Core libraries

Run yarn install or npm install to install JavaScript libraries

Development

You can start the application directly from Visual Studio.

HMR (Hot Module Replacement) support uses JavaScriptServices and is configured by calling UseWebpackDevMiddleware.

Publishing

A different webpack configuration will be used for publishing optimised output and separate css file for production. This is run automatically when publishing from VS.

Technology choices