From 57d3a0566fdb2aa569642a7d2e2afaa83cf2dbc8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 17 May 2022 12:10:29 +0800 Subject: [PATCH] workflow: add prod/dev toggle to sfc playground --- packages/sfc-playground/package.json | 2 +- packages/sfc-playground/src/App.vue | 23 ++++++++++++++++---- packages/sfc-playground/src/Header.vue | 30 ++++++++++++++++++++------ pnpm-lock.yaml | 8 +++---- 4 files changed, 47 insertions(+), 16 deletions(-) diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index 0fe609b0..a2584a7f 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "vue": "3.2.33", - "@vue/repl": "^1.0.0", + "@vue/repl": "^1.1.0", "file-saver": "^2.0.5", "jszip": "^3.6.0" } diff --git a/packages/sfc-playground/src/App.vue b/packages/sfc-playground/src/App.vue index df91bb5a..95a1d955 100644 --- a/packages/sfc-playground/src/App.vue +++ b/packages/sfc-playground/src/App.vue @@ -1,7 +1,7 @@