diff --git a/How to/Enable Local Storage/.gitignore b/How to/Enable Local Storage/.gitignore new file mode 100644 index 0000000..403adbc --- /dev/null +++ b/How to/Enable Local Storage/.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/Enable Local Storage/README.md b/How to/Enable Local Storage/README.md new file mode 100644 index 0000000..2e03b1c --- /dev/null +++ b/How to/Enable Local Storage/README.md @@ -0,0 +1,24 @@ +# textsearch + +## 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/Enable Local Storage/babel.config.js b/How to/Enable Local Storage/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/How to/Enable Local Storage/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/How to/Enable Local Storage/jsconfig.json b/How to/Enable Local Storage/jsconfig.json new file mode 100644 index 0000000..4aafc5f --- /dev/null +++ b/How to/Enable Local Storage/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/Enable Local Storage/package.json b/How to/Enable Local Storage/package.json new file mode 100644 index 0000000..54932f8 --- /dev/null +++ b/How to/Enable Local Storage/package.json @@ -0,0 +1,49 @@ +{ + "name": "textsearch", + "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": "^3.2.13", + "buffer": "^6.0.3", + "crypto-browserify": "^3.12.0", + "stream-browserify": "^3.0.0", + "util": "^0.12.5", + "vm-browserify": "^1.1.2" + }, + "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" + }, + "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", + "not ie 11" + ] +} diff --git a/How to/Enable Local Storage/public/favicon.ico b/How to/Enable Local Storage/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/How to/Enable Local Storage/public/favicon.ico differ diff --git a/How to/Enable Local Storage/public/index.html b/How to/Enable Local Storage/public/index.html new file mode 100644 index 0000000..661d3ff --- /dev/null +++ b/How to/Enable Local Storage/public/index.html @@ -0,0 +1,18 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + +


+
+ + + diff --git a/How to/Enable Local Storage/src/App.vue b/How to/Enable Local Storage/src/App.vue new file mode 100644 index 0000000..b04019b --- /dev/null +++ b/How to/Enable Local Storage/src/App.vue @@ -0,0 +1,64 @@ + + + + diff --git a/How to/Enable Local Storage/src/assets/logo.png b/How to/Enable Local Storage/src/assets/logo.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/How to/Enable Local Storage/src/assets/logo.png differ diff --git a/How to/Enable Local Storage/src/main.js b/How to/Enable Local Storage/src/main.js new file mode 100644 index 0000000..01433bc --- /dev/null +++ b/How to/Enable Local Storage/src/main.js @@ -0,0 +1,4 @@ +import { createApp } from 'vue' +import App from './App.vue' + +createApp(App).mount('#app') diff --git a/How to/Enable Local Storage/vue.config.js b/How to/Enable Local Storage/vue.config.js new file mode 100644 index 0000000..910e297 --- /dev/null +++ b/How to/Enable Local Storage/vue.config.js @@ -0,0 +1,4 @@ +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ + transpileDependencies: true +})