From 53673a7798c7dc3a1e08809d184471516aea0374 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 3 Nov 2021 17:13:29 +0800 Subject: [PATCH] chore(react-component-tsx): update example. --- example/react-component-tsx/package.json | 2 +- example/react-component-tsx/src/react-app-env.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 example/react-component-tsx/src/react-app-env.d.ts diff --git a/example/react-component-tsx/package.json b/example/react-component-tsx/package.json index 23e82969..ea8fb2dd 100644 --- a/example/react-component-tsx/package.json +++ b/example/react-component-tsx/package.json @@ -8,7 +8,7 @@ "scripts": { "doc": "kkt build --app-src ./website", "start": "kkt start --app-src ./website", - "watch": "tsbb watch", + "watch": "tsbb watch & npm run css:watch", "build": "tsbb build && npm run css:build", "css:build": "compile-less -d src -o esm", "css:watch": "compile-less -d src -o esm --watch", diff --git a/example/react-component-tsx/src/react-app-env.d.ts b/example/react-component-tsx/src/react-app-env.d.ts new file mode 100644 index 00000000..6431bc5f --- /dev/null +++ b/example/react-component-tsx/src/react-app-env.d.ts @@ -0,0 +1 @@ +///