diff --git a/How to/TextSearch/.gitignore b/How to/TextSearch/.gitignore new file mode 100644 index 0000000..403adbc --- /dev/null +++ b/How to/TextSearch/.gitignore @@ -0,0 +1,23 @@ +.DS_Store +node_modules +/dist + + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/How to/TextSearch/README.md b/How to/TextSearch/README.md new file mode 100644 index 0000000..cf9ae0e --- /dev/null +++ b/How to/TextSearch/README.md @@ -0,0 +1,24 @@ +# quickstart + +## Project setup +``` +npm install +``` + +### Compiles and hot-reloads for development +``` +npm run serve +``` + +### Compiles and minifies for production +``` +npm run build +``` + +### Lints and fixes files +``` +npm run lint +``` + +### Customize configuration +See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/How to/TextSearch/babel.config.js b/How to/TextSearch/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/How to/TextSearch/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/How to/TextSearch/jsconfig.json b/How to/TextSearch/jsconfig.json new file mode 100644 index 0000000..4aafc5f --- /dev/null +++ b/How to/TextSearch/jsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "esnext", + "baseUrl": "./", + "moduleResolution": "node", + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] + } +} diff --git a/How to/TextSearch/package.json b/How to/TextSearch/package.json new file mode 100644 index 0000000..92f0a07 --- /dev/null +++ b/How to/TextSearch/package.json @@ -0,0 +1,44 @@ +{ + "name": "quickstart", + "version": "0.1.0", + "private": true, + "scripts": { + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint" + }, + "dependencies": { + "@syncfusion/ej2-vue-pdfviewer": "*", + "core-js": "^3.8.3", + "vue": "^2.7.16" + }, + "devDependencies": { + "@babel/core": "^7.12.16", + "@babel/eslint-parser": "^7.12.16", + "@vue/cli-plugin-babel": "~5.0.0", + "@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" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "parserOptions": { + "parser": "@babel/eslint-parser" + }, + "rules": {} + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not dead" + ] +} diff --git a/How to/TextSearch/public/favicon.ico b/How to/TextSearch/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/How to/TextSearch/public/favicon.ico differ diff --git a/How to/TextSearch/public/index.html b/How to/TextSearch/public/index.html new file mode 100644 index 0000000..661d3ff --- /dev/null +++ b/How to/TextSearch/public/index.html @@ -0,0 +1,18 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + +


+
+ + + diff --git a/How to/TextSearch/src/App.vue b/How to/TextSearch/src/App.vue new file mode 100644 index 0000000..16ee5fd --- /dev/null +++ b/How to/TextSearch/src/App.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/How to/TextSearch/src/assets/logo.png b/How to/TextSearch/src/assets/logo.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/How to/TextSearch/src/assets/logo.png differ diff --git a/How to/TextSearch/src/main.js b/How to/TextSearch/src/main.js new file mode 100644 index 0000000..63eb05f --- /dev/null +++ b/How to/TextSearch/src/main.js @@ -0,0 +1,8 @@ +import Vue from 'vue' +import App from './App.vue' + +Vue.config.productionTip = false + +new Vue({ + render: h => h(App), +}).$mount('#app') diff --git a/How to/TextSearch/vue.config.js b/How to/TextSearch/vue.config.js new file mode 100644 index 0000000..910e297 --- /dev/null +++ b/How to/TextSearch/vue.config.js @@ -0,0 +1,4 @@ +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ + transpileDependencies: true +})