f5f4587b67 | ||
---|---|---|
aspnet_core_sample_application | ||
node_sample_application | ||
README.md |
README.md
This repository is no longer updated. To access the current version, refer to the kendo-angular
repository.
Kendo UI for Angular: Angular Universal
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.
Get Started
- 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
.
Table of Contents
Running the Applications
Node-Based Project
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
ASP.NET Core-Based Project
To run the application, execute the following commands:
# install the ASP.NET Core packages
dotnet restore
# use npm (or yarn) to install the dependencies
cd ClientApp/
npm install
# go back to the main projects directory
cd ..
SET ASPNETCORE_Environment=Development (Windows) or export ASPNETCORE_Environment=Development (Linux, OSX)
# Start the development server
dotnet run