Webpack
PLATFORM.moduleName
// src/resources/index.js
import { PLATFORM } from 'aurelia-framework';
export function configure(config) {
config.globalResources([
PLATFORM.moduleName('./elements/my-awesome-element')
]);
}
// router configuration
export function configureRouter(config, router) {
this.router = router;
config.map([
{
route: '',
name: 'home',
title: 'Home',
nav: true,
moduleId: PLATFORM.moduleName('./home')
}
]);
}Running the Application
Simplified Webpack
Deploying Your App
Build Options
Installing 3rd Party Dependencies
Unit Testing
ASP.NET Core
Last updated
Was this helpful?