Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Annotations/Interaction with annotations/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# annotation

## Project setup
```
Expand Down
5 changes: 5 additions & 0 deletions Annotations/Interaction with annotations/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
19 changes: 19 additions & 0 deletions Annotations/Interaction with annotations/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
13 changes: 9 additions & 4 deletions Annotations/Interaction with annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
},
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"buffer": "^6.0.3",
"core-js": "^3.8.3",
"vue": "^2.7.16"
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2",
"vue": "^3.2.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -19,8 +24,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.7.16"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -39,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
2 changes: 1 addition & 1 deletion Annotations/Interaction with annotations/src/App.vue

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions Annotations/Interaction with annotations/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')
4 changes: 4 additions & 0 deletions Annotations/Interaction with annotations/vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
2 changes: 1 addition & 1 deletion Getting Started - Standalone/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# getting-started-standalone

## Project setup
```
Expand Down
5 changes: 5 additions & 0 deletions Getting Started - Standalone/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
19 changes: 19 additions & 0 deletions Getting Started - Standalone/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
15 changes: 10 additions & 5 deletions Getting Started - Standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "getting-started-server-back",
"name": "getting-started-standalone",
"version": "0.1.0",
"private": true,
"scripts": {
Expand All @@ -9,8 +9,13 @@
},
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"buffer": "^6.0.3",
"core-js": "^3.8.3",
"vue": "^2.7.16"
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2",
"vue": "^3.2.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -19,8 +24,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.7.16"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -39,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
8 changes: 2 additions & 6 deletions Getting Started - Standalone/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')
4 changes: 4 additions & 0 deletions Getting Started - Standalone/vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
2 changes: 1 addition & 1 deletion Getting Started - server-back/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart
# getting-started-server-back

## Project setup
```
Expand Down
5 changes: 5 additions & 0 deletions Getting Started - server-back/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
19 changes: 19 additions & 0 deletions Getting Started - server-back/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
13 changes: 9 additions & 4 deletions Getting Started - server-back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
},
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"buffer": "^6.0.3",
"core-js": "^3.8.3",
"vue": "^2.7.16"
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2",
"vue": "^3.2.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -19,8 +24,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.7.16"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -39,6 +43,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
2 changes: 1 addition & 1 deletion Getting Started - server-back/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

data() {
return {
serviceUrl: "https://services.syncfusion.com/vue/production/api/pdfviewer",
serviceUrl: "https://localhost:44396/pdfviewer",
documentPath: "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
};
},
Expand Down
8 changes: 2 additions & 6 deletions Getting Started - server-back/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')
4 changes: 4 additions & 0 deletions Getting Started - server-back/vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
48 changes: 24 additions & 24 deletions Getting Started Vue-3 - Standalone/.gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
14 changes: 7 additions & 7 deletions Getting Started Vue-3 - Standalone/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
# Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
26 changes: 13 additions & 13 deletions Getting Started Vue-3 - Standalone/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vue 3 getting started</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vue 3 getting started</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
38 changes: 19 additions & 19 deletions Getting Started Vue-3 - Standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "getting-started-server-back",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"vue": "^3.2.47"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.1.0",
"vite": "^4.3.9"
}
}
{
"name": "getting-started-server-back",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"vue": "^3.2.47"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.1.0",
"vite": "^4.3.9"
}
}
Loading
Loading