Skip to content

The repository contains the source code of the scripts created in the step-by-step Web Dashboard's Custom Item tutorials.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/dashboard-react-app-custom-item-tutorials

Repository files navigation

Files to look at:

Dashboard for React - How to create a static custom item

This example shows how to implement a HelloWorld static custom item with a custom property that allows you to change the static text.

This example uses a client-server architecture. The server (backend) project communicates with the client (frontend) application that includes all the necessary styles, scripts and HTML templates. Note that the script version on the client must match the version of libraries on the server.

Quick Start

In the asp-net-core-server folder, run the following command:

dotnet run

See the following section for information on how to install NuGet packages from the DevExpress NuGet feed: Install DevExpress Controls Using NuGet Packages.

This server allows CORS requests from all origins with any scheme (http or https). This default configuration is insecure: any website can make cross-origin requests to the app. We recommend that you specify the client application's URL to prohibit other clients from accessing sensitive information stored on the server. Learn more: Cross-Origin Resource Sharing (CORS)

In the dashboard-react-app folder, run the following commands:

npm install
npm start

Open http://localhost:3000/ in your browser to see the result.

Documentation

More Examples

About

The repository contains the source code of the scripts created in the step-by-step Web Dashboard's Custom Item tutorials.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5