From d23a4d3805eb0727f8b7c03cb8e36c0bfb7873e2 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 12 Jul 2021 18:25:13 +0200 Subject: [PATCH] feat(dx): HMR wip --- playground/src/App.vue | 10 +- playground/src/main.ts | 54 +++++- playground/src/stores/counter.ts | 63 ++++++- playground/tsconfig.json | 14 ++ src/createPinia.ts | 8 +- src/devtools/plugin.ts | 6 + src/store.ts | 273 ++++++++++++++++++++++++------- src/types.ts | 28 +++- 8 files changed, 384 insertions(+), 72 deletions(-) create mode 100644 playground/tsconfig.json diff --git a/playground/src/App.vue b/playground/src/App.vue index f151f0a9..3edb3052 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -1,9 +1,18 @@