Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(vue): prop-types console warnings #2279

Merged
merged 4 commits into from
Jan 8, 2024
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 packages/vue/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"es6": true,
"node": true
},
"extends": ["airbnb-base", "plugin:vue/recommended", "prettier"],
"extends": ["airbnb-base", "plugin:vue/vue3-recommended", "prettier"],
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 2017,
Expand Down
10 changes: 10 additions & 0 deletions packages/vue/examples/data-search/vue.config.js
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()
}
}
}
10 changes: 10 additions & 0 deletions packages/vue/examples/dynamic-range-slider/vue.config.js
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()
}
}
}
10 changes: 10 additions & 0 deletions packages/vue/examples/range-slider/vue.config.js
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 packages/vue/examples/search-showcase/ai-answer-simple/index.html
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 packages/vue/examples/search-showcase/ai-answer-simple/package.json
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"
}
}
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 packages/vue/examples/search-showcase/auto-suggestions/index.html
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 packages/vue/examples/search-showcase/auto-suggestions/package.json
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"
}
}
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 packages/vue/examples/search-showcase/faq-suggestions/index.html
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 packages/vue/examples/search-showcase/faq-suggestions/package.json
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"
}

}
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',
],
},
};
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>
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"
}

}
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 packages/vue/examples/search-showcase/focus-shortcuts/index.html
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>
Loading
Loading