A quick-start project that demonstrates how to create a simple ASP.NET Core application with Vue as a client app using a SPA template. This project contains code snippets to perform CRUD operations on the server side using the properties updateUrl, insertUrl, removeUrl, crudUrl, and batchUrl from the DataManager.
Documentation: https://ej2.syncfusion.com/vue/documentation/grid/edit/#persisting-data-in-server
Online Examples: https://ej2.syncfusion.com/vue/demos/#/material/grid/remote-data.html
Make sure you have the latest versions of Node, Visual Studio Code, Asp.Net Core, and Vue CLI on your machine with a compatible browser before working on this project.
To run this application, you first need to clone the perform-server-side-crud-operations-in-vue-grid
repository and then navigate to the path where it has been downloaded to your system.
To do so, open a command prompt and run the following commands one after the other:
git clone https://github.com/SyncfusionExamples/perform-server-side-crud-operations-in-vue-grid grid-example
cd grid-example
After downloading, you need to install the packages required to run this application locally. To do so, run the following command:
npm install
Run the dotnet run
command for a dev server. Navigate to http://localhost:5000/
. The app will run in production mode by default, so set the environment to development mode in the command prompt with the following:
$Env:ASPNETCORE_ENVIRONMENT = "Development"
To get help with using the Vue CLI, check out the [Vue CLI README] (https://github.com/vuejs/vue-cli/blob/master/README.md).