From 38d741ffeeba0c9840899922b6f16bda22e8479b Mon Sep 17 00:00:00 2001 From: BitcoinVM Date: Mon, 29 Jan 2024 17:36:41 +0800 Subject: [PATCH] add wasm schema and code viewer --- package.json | 1 + src/components/WasmVerification.vue | 219 +++++++++++++++++++++++++--- 2 files changed, 197 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 1f17d4ff..0315373e 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "sass": "^1.58.0", + "shiki": "^1.0.0-beta.0", "typescript": "~4.9.5", "unplugin-auto-import": "^0.13.0", "unplugin-vue-components": "^0.23.0", diff --git a/src/components/WasmVerification.vue b/src/components/WasmVerification.vue index 3c51b727..f0ea25cf 100644 --- a/src/components/WasmVerification.vue +++ b/src/components/WasmVerification.vue @@ -1,9 +1,15 @@ \ No newline at end of file