1.1.2 • Published 5 years ago
@materia/angular-universal v1.1.2
Materia - Angular Universal
Enable Server Side Rendering for your angular application
Features
- Extend Materia Server express app with @nguniversal
Installation from NPM
In your Materia application, run yarn add @materia/angular-universal or npm install @materia/angular-universal --save
Restart Materia Designer
Installation from local files
Clone this repository:
git clone git@github.com:geoastronaute/materia-angular-universal.git
cd materia-angular-universalThen install dependencies and build:
yarn
yarn build:prodTo test your addon locally before publishing it to NPM, use npm link or yarn link:
cd dist && npm linkand in your materia application
npm link @materia/angular-universalthen add "@materia/angular-universal" in the links array of your materia.json config file - it will let Materia knows of the existance of the linked addon.