From e8e33976b0f5c749f6f81a2301a7682ef1ef4a51 Mon Sep 17 00:00:00 2001 From: daishi Date: Wed, 15 May 2024 08:51:23 +0900 Subject: [PATCH] migrate to stackblitz --- README.md | 4 ++-- examples/01_counter/tsconfig.json | 15 +++++++++++++++ examples/02_jsx/tsconfig.json | 15 +++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 examples/01_counter/tsconfig.json create mode 100644 examples/02_jsx/tsconfig.json diff --git a/README.md b/README.md index d1b7a4b..1431bc0 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ PORT=8080 yarn run examples:01_counter and open in your web browser. You can also try them in codesandbox.io: -[01](https://codesandbox.io/s/github/dai-shi/use-signals/tree/main/examples/01_counter) -[02](https://codesandbox.io/s/github/dai-shi/use-signals/tree/main/examples/02_jsx) +[01](https://stackblitz.com/github/dai-shi/use-signals/tree/main/examples/01_counter) +[02](https://stackblitz.com/github/dai-shi/use-signals/tree/main/examples/02_jsx) ## Tweets diff --git a/examples/01_counter/tsconfig.json b/examples/01_counter/tsconfig.json new file mode 100644 index 0000000..d387817 --- /dev/null +++ b/examples/01_counter/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "strict": true, + "target": "es2018", + "downlevelIteration": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "skipLibCheck": true, + "allowJs": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "jsx": "react-jsx" + } +} diff --git a/examples/02_jsx/tsconfig.json b/examples/02_jsx/tsconfig.json new file mode 100644 index 0000000..d387817 --- /dev/null +++ b/examples/02_jsx/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "strict": true, + "target": "es2018", + "downlevelIteration": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "skipLibCheck": true, + "allowJs": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "jsx": "react-jsx" + } +}