Closed5
tsdx の使い方
npx tsdx create [名称]
::::::::::: :::::::: ::::::::: ::: :::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +#++:++#++ +#+ +:+ +#++:+
+#+ +#+ +#+ +#+ +#+ +#+
#+# #+# #+# #+# #+# #+# #+#
### ######## ######### ### ###
? Choose a template …
basic
❯ react
react-with-storybook
react を選択する
Awesome! You're now ready to start coding.
I already ran npm install for you, so your next steps are:
cd [名称]
To start developing (rebuilds on changes):
npm run start
To build for production:
npm run build
To test your library with Jest:
npm test
Questions? Feedback? Please let me know!
https://github.com/formium/tsdx/issues
example
フォルダで npm run start
すると
Parcel error: example\index.tsx: Invalid Version: undefined
のエラーでコケる
Parcel のバージョンを上げる
続き
@parcel/transformer-js: Browser scripts cannot have imports or exports.
のエラーでコケる
このスクラップは2022/02/01にクローズされました