-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2279 from appbaseio/fix/vue/prop-types-warnings
fix(vue): prop-types console warnings
- Loading branch information
Showing
44 changed files
with
1,340 additions
and
1,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
chainWebpack: config => { | ||
if (process.env.NODE_ENV === 'development') { | ||
config | ||
.output | ||
.filename('[name].[hash].js') | ||
.end() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
chainWebpack: config => { | ||
if (process.env.NODE_ENV === 'development') { | ||
config | ||
.output | ||
.filename('[name].[hash].js') | ||
.end() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
chainWebpack: config => { | ||
if (process.env.NODE_ENV === 'development') { | ||
config | ||
.output | ||
.filename('[name].[hash].js') | ||
.end() | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
packages/vue/examples/search-showcase/ai-answer-simple/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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>AI Answer Simple</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
41 changes: 13 additions & 28 deletions
41
packages/vue/examples/search-showcase/ai-answer-simple/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,23 @@ | ||
{ | ||
"name": "vue-search-showcase-ai-answer-simple", | ||
"version": "0.1.0", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
"serve": "volar-preview-vite", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@appbaseio/reactivesearch-vue": "3.3.4", | ||
"vue": "^3.2.5" | ||
"vue": "^3.3.9", | ||
"vuejs-paginate": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^5.0.8", | ||
"@vue/cli-service": "^5.0.8", | ||
"@vue/compiler-sfc": "^3.1.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"rules": {}, | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
] | ||
"@codesandbox/vue-preview": "^0.1.1-alpha.16", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"@vue/babel-preset-app": "^5.0.8", | ||
"vite": "^5.0.4" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
packages/vue/examples/search-showcase/ai-answer-simple/vite.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import vue from '@vitejs/plugin-vue'; | ||
import vueJsx from '@vitejs/plugin-vue-jsx'; | ||
|
||
export default { | ||
plugins: [vue(), vueJsx()], | ||
optimizeDeps: { | ||
include: [ | ||
'@appbaseio/reactivecore', | ||
'@appbaseio/reactivesearch-vue', | ||
'fast-deep-equal', | ||
], | ||
}, | ||
}; |
13 changes: 13 additions & 0 deletions
13
packages/vue/examples/search-showcase/auto-suggestions/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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>search-box-autosuggestions</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
41 changes: 13 additions & 28 deletions
41
packages/vue/examples/search-showcase/auto-suggestions/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,23 @@ | ||
{ | ||
"name": "search-box-autosuggestions", | ||
"version": "0.1.0", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
"serve": "volar-preview-vite", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@appbaseio/reactivesearch-vue": "3.3.4", | ||
"vue": "^3.2.5" | ||
"vue": "^3.3.9", | ||
"vuejs-paginate": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^5.0.8", | ||
"@vue/cli-service": "^5.0.8", | ||
"@vue/compiler-sfc": "^3.1.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"rules": {}, | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
] | ||
"@codesandbox/vue-preview": "^0.1.1-alpha.16", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"@vue/babel-preset-app": "^5.0.8", | ||
"vite": "^5.0.4" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
packages/vue/examples/search-showcase/auto-suggestions/vite.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import vue from '@vitejs/plugin-vue'; | ||
import vueJsx from '@vitejs/plugin-vue-jsx'; | ||
|
||
export default { | ||
plugins: [vue(), vueJsx()], | ||
optimizeDeps: { | ||
include: [ | ||
'@appbaseio/reactivecore', | ||
'@appbaseio/reactivesearch-vue', | ||
'fast-deep-equal', | ||
], | ||
}, | ||
}; |
13 changes: 13 additions & 0 deletions
13
packages/vue/examples/search-showcase/faq-suggestions/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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>search-showcase-faq-suggestions</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
42 changes: 14 additions & 28 deletions
42
packages/vue/examples/search-showcase/faq-suggestions/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,24 @@ | ||
{ | ||
"name": "search-showcase-faq-suggestions", | ||
"version": "0.1.0", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
"serve": "volar-preview-vite", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@appbaseio/reactivesearch-vue": "3.3.4", | ||
"vue": "^3.2.5" | ||
"vue": "^3.3.9", | ||
"vuejs-paginate": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^5.0.8", | ||
"@vue/cli-service": "^5.0.8", | ||
"@vue/compiler-sfc": "^3.1.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"rules": {}, | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
] | ||
"@codesandbox/vue-preview": "^0.1.1-alpha.16", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"@vue/babel-preset-app": "^5.0.8", | ||
"vite": "^5.0.4" | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
packages/vue/examples/search-showcase/faq-suggestions/vite.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import vue from '@vitejs/plugin-vue'; | ||
import vueJsx from '@vitejs/plugin-vue-jsx'; | ||
|
||
export default { | ||
plugins: [vue(), vueJsx()], | ||
optimizeDeps: { | ||
include: [ | ||
'@appbaseio/reactivecore', | ||
'@appbaseio/reactivesearch-vue', | ||
'fast-deep-equal', | ||
], | ||
}, | ||
}; |
13 changes: 13 additions & 0 deletions
13
packages/vue/examples/search-showcase/featured-suggestions/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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-search-showcase-featured-suggestions</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
42 changes: 14 additions & 28 deletions
42
packages/vue/examples/search-showcase/featured-suggestions/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,24 @@ | ||
{ | ||
"name": "vue-search-showcase-featured-suggestions", | ||
"version": "0.1.0", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
"serve": "volar-preview-vite", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"@appbaseio/reactivesearch-vue": "3.3.4", | ||
"vue": "^3.2.5" | ||
"vue": "^3.3.9", | ||
"vuejs-paginate": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^5.0.8", | ||
"@vue/cli-service": "^5.0.8", | ||
"@vue/compiler-sfc": "^3.1.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"rules": {}, | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
] | ||
"@codesandbox/vue-preview": "^0.1.1-alpha.16", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"@vue/babel-preset-app": "^5.0.8", | ||
"vite": "^5.0.4" | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
packages/vue/examples/search-showcase/featured-suggestions/vite.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import vue from '@vitejs/plugin-vue'; | ||
import vueJsx from '@vitejs/plugin-vue-jsx'; | ||
|
||
export default { | ||
plugins: [vue(), vueJsx()], | ||
optimizeDeps: { | ||
include: [ | ||
'@appbaseio/reactivecore', | ||
'@appbaseio/reactivesearch-vue', | ||
'fast-deep-equal', | ||
], | ||
}, | ||
}; |
13 changes: 13 additions & 0 deletions
13
packages/vue/examples/search-showcase/focus-shortcuts/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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-search-showcase-focus-shortcuts</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.