This repository contains a Node-based and an ASP.NET Core-based sample applications which demonstrate how to use Kendo UI for Angular and Angular Universal.
- Clone this repository by using your favorite Git client or by executing
git clone https://github.com/telerik/kendo-angular-universal-demo.git
. - Enter the project directory by running
cd kendo-angular-universal-demo
.
To run the application, execute the following commands:
# use npm (or yarn) to install the dependencies
npm install
# dev build (SPA / lean Angular)
npm run build:spa-dev
# prod build (SPA / lean Angular)
npm run build:spa-prod
# start the server (SPA / lean Angular)
npm run serve:spa
# start the server (SPA / lean Angular, with HMR support)
npm run serve:spa-hmr
# dev build (Universal)
npm run build:universal-dev
# prod build (Universal)
npm run build:universal-prod
# start the server (Angular Universal)
npm run serve
To run the application, execute the following commands:
# install the ASP.NET Core packages
dotnet restore
# use npm (or yarn) to install the dependencies
npm install
# build the application using Webpack
webpack --config webpack.config.vendor.js
webpack
# run the application
dotnet run