Skip to content

Incorporate a DevExpress Dashboard component into a client-side app built with Vue

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/dashboard-vue-app-get-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get Started - Client-Side Dashboard Application built with Vue

This project demonstrates how you can incorporate a DevExpress Dashboard component into a client-side app built with Vue. Use it as a template when you need to create a similar web application.

The example uses a modular client-server approach. 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

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-vue-app folder, run the following commands:

npm install
npm run serve

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

Documentation

Examples