Skip to content

Commit

Permalink
refactor: replace tailwindcss with unocss
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <i@ryanc.cc>
  • Loading branch information
ruibaby committed Jul 19, 2024
1 parent 6758392 commit 0e1a14f
Show file tree
Hide file tree
Showing 16 changed files with 1,314 additions and 575 deletions.
13 changes: 7 additions & 6 deletions ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
root: true,
extends: [
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier",
'plugin:vue/vue3-recommended',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier',
'@unocss',
],
env: {
"vue/setup-compiler-macros": true,
'vue/setup-compiler-macros': true,
},
};
7 changes: 3 additions & 4 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "module",
"scripts": {
"dev": "vite build --watch --mode=development",
"build": "vite build",
Expand Down Expand Up @@ -26,22 +27,20 @@
"@rushstack/eslint-patch": "^1.10.3",
"@types/jsdom": "^20.0.1",
"@types/node": "^16.18.101",
"@unocss/eslint-config": "^0.61.5",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.1.3",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.27.0",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.39",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.5",
"sass": "^1.77.6",
"tailwindcss": "^3.4.4",
"typescript": "~5.4.5",
"unocss": "^0.61.5",
"unplugin-icons": "^0.19.0",
"vite": "^5.3.3",
"vitest": "^0.24.5",
Expand Down
Loading

0 comments on commit 0e1a14f

Please sign in to comment.