From 6fdc510f60df1365dffae801136a6260a1edcb2e Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Tue, 4 Feb 2025 17:35:14 +0800 Subject: [PATCH] =?UTF-8?q?chore(app):=20=E5=AE=89=E8=A3=85=20highlight.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 3 +++ src/App.vue | 12 ++++++++++++ 3 files changed, 16 insertions(+) diff --git a/package.json b/package.json index e48a754..c6a9dc9 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@vueuse/core": "^12.5.0", "axios": "^1.7.9", "dayjs": "^1.11.13", + "highlight.js": "^11.11.1", "lunisolar": "^2.5.1", "mathjs": "^14.2.0", "naive-ui": "^2.41.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 843490c..38d1481 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: dayjs: specifier: ^1.11.13 version: 1.11.13 + highlight.js: + specifier: ^11.11.1 + version: 11.11.1 lunisolar: specifier: ^2.5.1 version: 2.5.1 diff --git a/src/App.vue b/src/App.vue index 92f84ca..326bfe4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,7 @@