From 8d5a19248c8c73e902cb611f6673ba028d620de6 Mon Sep 17 00:00:00 2001 From: Litrix2 Date: Wed, 18 Dec 2024 22:47:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=B7=BB=E5=8A=A0=E8=90=BD?= =?UTF-8?q?=E5=AD=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/App.vue | 3 +- src/components/game2048/Game2048.vue | 7 +- src/components/gobang/GobangHeader.vue | 3 +- src/components/gobang/GobangUser.vue | 9 +- src/utils/game-socket.ts | 2 - src/views/GobangListPage.vue | 9 +- src/views/GobangPlayPage.vue | 144 ++++++++++++++++++------- uno.config.ts | 2 + 9 files changed, 125 insertions(+), 55 deletions(-) diff --git a/package.json b/package.json index bcb80f8..2cd0abc 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "@types/crypto-js": "^4.2.2", "@types/lodash-es": "^4.17.12", "@types/node": "^20.17.9", + "@unocss/transformer-directives": "^0.65.1", "@vitejs/plugin-legacy": "^6.0.0", "@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue-jsx": "^4.1.1", diff --git a/src/App.vue b/src/App.vue index 4951de7..4e1b0a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@