/angular-plugin-architecture

Example of building Angular plugin with AOT and SSR

Primary LanguageTypeScript

AngularPluginArchitecture

Example of building AOT compiled Angular 7 plugin that can be consumed on client and server sides(SSR)

For Angular 8 see cli8 branch

Setup

npm install

Building shared plugin

npm run build:shared

Building plugins

npm run build:plugin1
npm run build:plugin2

Run

Dev mode

npm start

Server-side

npm run build:ssr
npm run serve:ssr

License

MIT