Skip to content

Commit 3107578

Browse files
Merge pull request #1 from Ammu1492/master
Added a sample
2 parents c6f5acb + 14085bd commit 3107578

File tree

12 files changed

+20555
-1
lines changed

12 files changed

+20555
-1
lines changed

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
1-
# drag-and-drop-events-from-an-external-source-to-vue-scheduler
1+
# Drag and Drop Events from an External Source to Vue Scheduler
2+
23
A quick start project that shows how to drag and drop events from an external source to Syncfusion's vue Scheduler component. This project also includes a code snippet to add the Vue TreeView component to an existing Vue Scheduler app, and drag an item from the TreeView component into the Scheduler component as well as how to open the editor window before the item is added as an appointment to the Scheduler.
4+
5+
Example: https://ej2.syncfusion.com/vue/demos/#/material/schedule/external-dragdrop.html
6+
7+
Documentation: https://ej2.syncfusion.com/vue/documentation/schedule/appointments/#drag-and-drop-items-from-external-source
8+
9+
## Project pre-requisites
10+
11+
Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project.
12+
13+
## How to run this application?
14+
15+
To run this application, you need to first clone the `drag-and-drop-events-from-an-external-source-to-vue-scheduler` repository and then navigate to its appropriate path where it has been located in your system.
16+
17+
To do so, open the command prompt and run the below commands one after the other.
18+
19+
```
20+
git clone vue-example
21+
22+
cd vue-example
23+
```
24+
25+
## Installing
26+
27+
Once done with downloading, next you need to install the necessary packages required to run this application locally. The `npm install` command will install all the needed Vue packages into your current project and to do so, run the below command.
28+
29+
```
30+
npm install
31+
```
32+
33+
## Running on development server
34+
35+
Run `npm run serve` command for a dev server. Navigate to `http://localhost:8080/`. The app will automatically reload if you change any of the source files.
36+
37+
## Further help
38+
39+
To get more help on the vue CLI use go check out the [Vue-Cli README](https://github.com/vuejs/vue-cli/blob/master/README.md).
40+

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)