From 8f2251f874957e5174ac06c1d522b37491de5349 Mon Sep 17 00:00:00 2001 From: SaravanaPriya31 Date: Thu, 30 Nov 2023 15:36:15 +0530 Subject: [PATCH] 857163-sampleUpdate : GitHub samples for vue 3 standalone and server back component is added --- Getting Started Vue-3 - Standalone/.gitignore | 24 +++++ Getting Started Vue-3 - Standalone/README.md | 7 ++ Getting Started Vue-3 - Standalone/index.html | 13 +++ .../package.json | 19 ++++ .../src/App.vue | 90 +++++++++---------- .../src/assets/vue.svg | 0 .../src/main.js | 4 + .../src/style.css | 0 .../vite.config.js | 7 ++ .../.gitignore | 0 .../README.md | 0 .../index.html | 0 .../package.json | 2 +- .../src/App.vue | 45 ++++++++++ .../src/assets/vue.svg | 1 + .../src/main.js | 0 .../src/style.css | 0 .../vite.config.js | 0 18 files changed, 165 insertions(+), 47 deletions(-) create mode 100644 Getting Started Vue-3 - Standalone/.gitignore create mode 100644 Getting Started Vue-3 - Standalone/README.md create mode 100644 Getting Started Vue-3 - Standalone/index.html create mode 100644 Getting Started Vue-3 - Standalone/package.json rename {Getting Started Vue-3 => Getting Started Vue-3 - Standalone}/src/App.vue (84%) rename {Getting Started Vue-3 => Getting Started Vue-3 - Standalone}/src/assets/vue.svg (100%) create mode 100644 Getting Started Vue-3 - Standalone/src/main.js rename {Getting Started Vue-3 => Getting Started Vue-3 - Standalone}/src/style.css (100%) create mode 100644 Getting Started Vue-3 - Standalone/vite.config.js rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/.gitignore (100%) rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/README.md (100%) rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/index.html (100%) rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/package.json (86%) create mode 100644 Getting Started Vue-3 - server-back/src/App.vue create mode 100644 Getting Started Vue-3 - server-back/src/assets/vue.svg rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/src/main.js (100%) create mode 100644 Getting Started Vue-3 - server-back/src/style.css rename {Getting Started Vue-3 => Getting Started Vue-3 - server-back}/vite.config.js (100%) diff --git a/Getting Started Vue-3 - Standalone/.gitignore b/Getting Started Vue-3 - Standalone/.gitignore new file mode 100644 index 0000000..4108b33 --- /dev/null +++ b/Getting Started Vue-3 - Standalone/.gitignore @@ -0,0 +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? diff --git a/Getting Started Vue-3 - Standalone/README.md b/Getting Started Vue-3 - Standalone/README.md new file mode 100644 index 0000000..94c98a2 --- /dev/null +++ b/Getting Started Vue-3 - Standalone/README.md @@ -0,0 +1,7 @@ +# Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + diff --git a/Getting Started Vue-3 - Standalone/package.json b/Getting Started Vue-3 - Standalone/package.json new file mode 100644 index 0000000..4fa140a --- /dev/null +++ b/Getting Started Vue-3 - Standalone/package.json @@ -0,0 +1,19 @@ +{ + "name": "vite-project", + "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" + } +} diff --git a/Getting Started Vue-3/src/App.vue b/Getting Started Vue-3 - Standalone/src/App.vue similarity index 84% rename from Getting Started Vue-3/src/App.vue rename to Getting Started Vue-3 - Standalone/src/App.vue index b157ef9..f196e40 100644 --- a/Getting Started Vue-3/src/App.vue +++ b/Getting Started Vue-3 - Standalone/src/App.vue @@ -1,47 +1,45 @@ - - - - - \ No newline at end of file diff --git a/Getting Started Vue-3/src/assets/vue.svg b/Getting Started Vue-3 - Standalone/src/assets/vue.svg similarity index 100% rename from Getting Started Vue-3/src/assets/vue.svg rename to Getting Started Vue-3 - Standalone/src/assets/vue.svg diff --git a/Getting Started Vue-3 - Standalone/src/main.js b/Getting Started Vue-3 - Standalone/src/main.js new file mode 100644 index 0000000..a4fc9b9 --- /dev/null +++ b/Getting Started Vue-3 - Standalone/src/main.js @@ -0,0 +1,4 @@ +import { createApp } from 'vue' +import App from './App.vue' + +createApp(App).mount('#app') diff --git a/Getting Started Vue-3/src/style.css b/Getting Started Vue-3 - Standalone/src/style.css similarity index 100% rename from Getting Started Vue-3/src/style.css rename to Getting Started Vue-3 - Standalone/src/style.css diff --git a/Getting Started Vue-3 - Standalone/vite.config.js b/Getting Started Vue-3 - Standalone/vite.config.js new file mode 100644 index 0000000..d83338b --- /dev/null +++ b/Getting Started Vue-3 - Standalone/vite.config.js @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [vue()], +}) diff --git a/Getting Started Vue-3/.gitignore b/Getting Started Vue-3 - server-back/.gitignore similarity index 100% rename from Getting Started Vue-3/.gitignore rename to Getting Started Vue-3 - server-back/.gitignore diff --git a/Getting Started Vue-3/README.md b/Getting Started Vue-3 - server-back/README.md similarity index 100% rename from Getting Started Vue-3/README.md rename to Getting Started Vue-3 - server-back/README.md diff --git a/Getting Started Vue-3/index.html b/Getting Started Vue-3 - server-back/index.html similarity index 100% rename from Getting Started Vue-3/index.html rename to Getting Started Vue-3 - server-back/index.html diff --git a/Getting Started Vue-3/package.json b/Getting Started Vue-3 - server-back/package.json similarity index 86% rename from Getting Started Vue-3/package.json rename to Getting Started Vue-3 - server-back/package.json index 6d2476e..65a4a23 100644 --- a/Getting Started Vue-3/package.json +++ b/Getting Started Vue-3 - server-back/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@syncfusion/ej2-vue-pdfviewer": "^21.2.8", + "@syncfusion/ej2-vue-pdfviewer": "*", "vue": "^3.2.47" }, "devDependencies": { diff --git a/Getting Started Vue-3 - server-back/src/App.vue b/Getting Started Vue-3 - server-back/src/App.vue new file mode 100644 index 0000000..01f6ace --- /dev/null +++ b/Getting Started Vue-3 - server-back/src/App.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/Getting Started Vue-3 - server-back/src/assets/vue.svg b/Getting Started Vue-3 - server-back/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/Getting Started Vue-3 - server-back/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Getting Started Vue-3/src/main.js b/Getting Started Vue-3 - server-back/src/main.js similarity index 100% rename from Getting Started Vue-3/src/main.js rename to Getting Started Vue-3 - server-back/src/main.js diff --git a/Getting Started Vue-3 - server-back/src/style.css b/Getting Started Vue-3 - server-back/src/style.css new file mode 100644 index 0000000..e69de29 diff --git a/Getting Started Vue-3/vite.config.js b/Getting Started Vue-3 - server-back/vite.config.js similarity index 100% rename from Getting Started Vue-3/vite.config.js rename to Getting Started Vue-3 - server-back/vite.config.js