From 0468c3ea167a1f76eee9382591274c8c602f0f70 Mon Sep 17 00:00:00 2001 From: mobyw Date: Mon, 14 Oct 2024 23:42:43 +0800 Subject: [PATCH] :sparkles: Improve import and export functions and example --- packages/app/src/App.vue | 8 +- packages/app/src/blocks/nonebot_scheduler.ts | 2 - packages/app/src/components/ButtonPanel.vue | 14 +- packages/app/src/components/ConfigTab.vue | 100 ++- packages/app/src/components/TutorialTab.vue | 42 +- packages/app/src/default.ts | 580 ++++++++++++++---- packages/app/src/generators/helper.ts | 29 + .../app/src/generators/nonebot_alconna.ts | 37 +- packages/app/src/generators/nonebot_basic.ts | 36 +- .../app/src/generators/nonebot_scheduler.ts | 23 +- packages/app/src/workspace.ts | 350 +++++++---- 11 files changed, 888 insertions(+), 333 deletions(-) create mode 100644 packages/app/src/generators/helper.ts diff --git a/packages/app/src/App.vue b/packages/app/src/App.vue index 8625df4..ec39ba0 100644 --- a/packages/app/src/App.vue +++ b/packages/app/src/App.vue @@ -1,5 +1,5 @@