mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
chore: prepare to change to tailwindcss
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
- [x] 实现应用搜索
|
||||
- [ ] 切换分类时默认不应用搜索,需按下回车键才应用搜索
|
||||
- [ ] 修改UI,使其更美观(考虑换成如shadcn等组件库)
|
||||
- [ ] 实现URL Shceme协议支持
|
||||
|
||||
|
||||
## 📦 关于 APM
|
||||
|
||||
@@ -12,16 +12,8 @@ if [[ "$1" != "apm" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 检查 apm 命令是否存在
|
||||
if ! command -v apm &>/dev/null; then
|
||||
echo "apm 命令未找到,请确保已安装 APM 环境"
|
||||
exit 127
|
||||
fi
|
||||
|
||||
# 执行 apm 命令(跳过第一个参数 "apm")
|
||||
output=$(/usr/bin/apm "${@:2}" 2>&1)
|
||||
/usr/bin/apm "${@:2}" 2>&1
|
||||
exit_code=$?
|
||||
|
||||
echo "$output"
|
||||
|
||||
exit $exit_code
|
||||
@@ -42,7 +42,9 @@
|
||||
"vue-tsc": "^3.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.18",
|
||||
"axios": "^1.13.2",
|
||||
"pino": "^10.3.0"
|
||||
"pino": "^10.3.0",
|
||||
"tailwindcss": "^4.1.18"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import fs from 'node:fs'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import electron from 'vite-plugin-electron/simple'
|
||||
import pkg from './package.json'
|
||||
|
||||
@@ -61,6 +62,7 @@ export default defineConfig(({ command }) => {
|
||||
// See 👉 https://github.com/electron-vite/vite-plugin-electron-renderer
|
||||
renderer: {},
|
||||
}),
|
||||
tailwindcss(),
|
||||
],
|
||||
server: (() => {
|
||||
if (process.env.VSCODE_DEBUG) {
|
||||
|
||||
Reference in New Issue
Block a user