Skip to content

Commit

Permalink
Add shadcn-vue combobox components (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyqht authored Feb 13, 2024
1 parent 063b758 commit 26a6d1a
Show file tree
Hide file tree
Showing 43 changed files with 4,039 additions and 117 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution")
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting',
"plugin:tailwindcss/recommended"
'plugin:tailwindcss/recommended'
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
'tailwindcss/no-custom-classname': 'off'
}
},
ignorePatterns: ['**/src/components/ui/**/*.vue']
}
16 changes: 16 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://shadcn-vue.com/schema.json",
"style": "default",
"typescript": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/style.css",
"baseColor": "slate",
"cssVariables": true
},
"framework": "vite",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
Expand Down
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"Mini QR Code Generator": "Mini QR Code Generator",
"Default": "Default",
"Randomize style": "Randomize style",
"No data!": "No data!",
"Change language": "Change language",
"GitHub repository for this project": "GitHub repository for this project",
"Data to encode": "Data to encode",
"data to encode e.g. a URL or a string": "data to encode e.g. a URL or a string",
"Logo image URL": "Logo image URL",
"Last saved locally": "Last saved locally",
"Last saved locally": "Loaded from local storage",
"Loaded from file": "Loaded from file",
"Copy QR Code to clipboard": "Copy QR Code to clipboard",
"Export as": "Export as",
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.14",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"dom-to-image": "^2.6.0",
"lucide-vue-next": "^0.321.0",
"qr-code-styling": "^1.6.0-rc.1",
"radix-vue": "^1.4.1",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.3.1",
"vue": "^3.2.47",
"tailwindcss-animate": "^1.0.7",
"vite": "^5.0.10",
"vue": "^3.4.15",
"vue-i18n": "9"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 26a6d1a

Please sign in to comment.