Skip to content

Commit 0b5561d

Browse files
author
SasidharanKaruppiah
authored
Merge pull request #14 from SyncfusionExamples/877844-samples
877844 : samples are update to vue 2
2 parents 1e3b5bf + a972102 commit 0b5561d

File tree

159 files changed

+2692
-2193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+2692
-2193
lines changed

Annotations/Interaction with annotations/.gitignore

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
# Logs
2-
logs
3-
*.log
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
411
npm-debug.log*
512
yarn-debug.log*
613
yarn-error.log*
714
pnpm-debug.log*
8-
lerna-debug.log*
9-
10-
node_modules
11-
.DS_Store
12-
dist
13-
dist-ssr
14-
coverage
15-
*.local
16-
17-
/cypress/videos/
18-
/cypress/screenshots/
1915

2016
# Editor directories and files
21-
.vscode/*
22-
!.vscode/extensions.json
2317
.idea
18+
.vscode
2419
*.suo
2520
*.ntvs*
2621
*.njsproj
Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
1-
# ej2-vue-app
1+
# quickstart
22

3-
This template should help get you started developing with Vue 3 in Vite.
4-
5-
## Recommended IDE Setup
6-
7-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin).
8-
9-
## Customize configuration
10-
11-
See [Vite Configuration Reference](https://vitejs.dev/config/).
12-
13-
## Project Setup
14-
15-
```sh
3+
## Project setup
4+
```
165
npm install
176
```
187

19-
### Compile and Hot-Reload for Development
20-
21-
```sh
22-
npm run dev
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
2311
```
2412

25-
### Compile and Minify for Production
26-
27-
```sh
13+
### Compiles and minifies for production
14+
```
2815
npm run build
2916
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).

Annotations/Interaction with annotations/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
11
{
2-
"name": "ej2-vue-app",
3-
"version": "0.0.0",
2+
"name": "annotation",
3+
"version": "0.1.0",
4+
"private": true,
45
"scripts": {
5-
"dev": "vite",
6-
"build": "vite build",
7-
"preview": "vite preview --port 5050"
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint"
89
},
910
"dependencies": {
10-
"@syncfusion/ej2-vue-navigations": "*",
11-
"@syncfusion/ej2-vue-schedule": "*",
1211
"@syncfusion/ej2-vue-pdfviewer": "*",
13-
"vue": "^3.2.33",
14-
"vue-class-component": "^8.0.0-rc.1"
12+
"core-js": "^3.8.3",
13+
"vue": "^2.6.14"
1514
},
1615
"devDependencies": {
17-
"@vitejs/plugin-vue": "^2.3.1",
18-
"vite": "^2.9.5"
19-
}
16+
"@babel/core": "^7.12.16",
17+
"@babel/eslint-parser": "^7.12.16",
18+
"@vue/cli-plugin-babel": "~5.0.0",
19+
"@vue/cli-plugin-eslint": "~5.0.0",
20+
"@vue/cli-service": "~5.0.0",
21+
"eslint": "^7.32.0",
22+
"eslint-plugin-vue": "^8.0.3",
23+
"vue-template-compiler": "^2.6.14"
24+
},
25+
"eslintConfig": {
26+
"root": true,
27+
"env": {
28+
"node": true
29+
},
30+
"extends": [
31+
"plugin:vue/essential",
32+
"eslint:recommended"
33+
],
34+
"parserOptions": {
35+
"parser": "@babel/eslint-parser"
36+
},
37+
"rules": {}
38+
},
39+
"browserslist": [
40+
"> 1%",
41+
"last 2 versions",
42+
"not dead"
43+
]
2044
}

Annotations/Interaction with annotations/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
PdfViewer: [Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, TextSearch, Annotation, FormDesigner, FormFields]
4848
},
4949
methods: {
50-
documentLoad: function (args) {
50+
documentLoad: function () {
5151
viewer = this.$refs.pdfviewer.ej2Instances;
5252
//Document loaded with annotation.
5353
viewer.annotation.addAnnotation("Ink", {

Annotations/Interaction with annotations/src/assets/base.css

Lines changed: 0 additions & 74 deletions
This file was deleted.

Annotations/Interaction with annotations/src/assets/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

Annotations/Interaction with annotations/src/components/icons/IconCommunity.vue

Lines changed: 0 additions & 7 deletions
This file was deleted.

Annotations/Interaction with annotations/src/components/icons/IconDocumentation.vue

Lines changed: 0 additions & 7 deletions
This file was deleted.

Annotations/Interaction with annotations/src/components/icons/IconEcosystem.vue

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)