From 5e5072852f9449ff6bac8760d3994c0e6944a68c Mon Sep 17 00:00:00 2001 From: kanno <812137533@qq.com> Date: Tue, 23 May 2023 12:07:40 +0800 Subject: [PATCH] perf: remove unnecessary opt --- example/src/api.js | 2 + example/src/app.vue | 7 ++- src/generator.ts | 122 +++++++++++++++++--------------------------- 3 files changed, 55 insertions(+), 76 deletions(-) create mode 100644 example/src/api.js diff --git a/example/src/api.js b/example/src/api.js new file mode 100644 index 0000000..0e10933 --- /dev/null +++ b/example/src/api.js @@ -0,0 +1,2 @@ +export { ref as default, onMounted, watchEffect } from 'vue' +export * as vue from 'vue' diff --git a/example/src/app.vue b/example/src/app.vue index bd38336..f437591 100644 --- a/example/src/app.vue +++ b/example/src/app.vue @@ -10,15 +10,20 @@