1.3.3 • Published 6 years ago

@angularclass/webpack-toolkit v1.3.3

Weekly downloads
107
License
Apache-2.0
Repository
github
Last release
6 years ago

AngularClass Webpack Toolkit

Webpack helpers and tools for Angular 2

Install

npm install @angularclass/webpack-toolkit --save-dev

Install

app/about/about.ts

@Component({
  selector: 'about',
  template: '<h1>About</h1>'
})
export class About {}

export const routes = [
  { path: 'about', component: 'About' }
];

// create index.ts that exports this file

main.browser.ts

import { provideWebpack } from '@angularclass/webpack-toolkit';
bootstrap(App, [

  provideWebpack({
    'About': require('es6-promise!./app/about')
  })

]);

enjoy — AngularClass

AngularClass ##AngularClass

Learn AngularJS, Angular 2, and Modern Web Development from the best. Looking for corporate Angular training, want to host us, or Angular consulting? patrick@angularclass.com

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago