Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.01 KB

File metadata and controls

33 lines (25 loc) · 1.01 KB

Universal-Angular

This sample project demonstrates the use of DevExtreme Angular components in an Angular Universal application with server-side rendering.

DevExtreme Angular components were added to a project generated using Angular CLI. Then, the project was converted to Angular Universal.

Getting Started

  1. Clone the repository
git clone https://github.com/devexpress/devextreme-examples.git
  1. Go to the project folder
cd devextreme-examples/universal-angular
  1. Install the required modules. This command also convert the DevExtreme package to the AMD module format by using the npm postinstall script.
npm install
  1. Build example
npm run build:ssr
  1. Run example
npm run serve:ssr
  1. Navigate to http://localhost:4000/