Skip to content

Commit 1706817

Browse files
author
Taois
committed
feat: 完成actions组件开发
1 parent af3d90c commit 1706817

33 files changed

+15866
-910
lines changed

dashboard/data/动作测试新定标准版.js

Lines changed: 0 additions & 744 deletions
This file was deleted.

dashboard/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "dashboard",
33
"private": true,
44
"version": "0.0.1",
5+
"type": "module",
56
"scripts": {
67
"dev": "vite",
78
"build": "vite build",
@@ -29,7 +30,12 @@
2930
},
3031
"devDependencies": {
3132
"@arco-design/web-vue": "^2.56.3",
33+
"@playwright/test": "^1.55.1",
34+
"@tailwindcss/postcss": "^4.1.13",
3235
"@vitejs/plugin-vue": "^6.0.1",
36+
"autoprefixer": "^10.4.21",
37+
"postcss": "^8.5.6",
38+
"tailwindcss": "^4.1.13",
3339
"unplugin-vue-components": "^0.27.4",
3440
"vite": "^7.1.7"
3541
}

dashboard/playwright.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// @ts-check
2+
import { defineConfig, devices } from '@playwright/test';
3+
4+
export default defineConfig({
5+
testDir: './tests',
6+
fullyParallel: true,
7+
forbidOnly: !!process.env.CI,
8+
retries: process.env.CI ? 2 : 0,
9+
workers: process.env.CI ? 1 : undefined,
10+
reporter: 'html',
11+
use: {
12+
baseURL: 'http://localhost:5173',
13+
trace: 'on-first-retry',
14+
},
15+
16+
projects: [
17+
{
18+
name: 'chromium',
19+
use: { ...devices['Desktop Chrome'] },
20+
},
21+
],
22+
23+
webServer: {
24+
command: 'npm run dev',
25+
url: 'http://localhost:5173',
26+
reuseExistingServer: !process.env.CI,
27+
},
28+
});

dashboard/postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
'@tailwindcss/postcss': {},
4+
autoprefixer: {},
5+
},
6+
}

dashboard/public/lives.jpg

184 KB
Loading

0 commit comments

Comments
 (0)