ethos-react2-ts
v0.0.51
Published
- Dynamically change the magic link redirect URL by following [this guide](https://github.com/supabase/supabase/discussions/600#discussioncomment-1879317) - Move all files to TS and fully test - Write instructions on how to edit NPM package locally - get
Downloads
6
Readme
todo
- Dynamically change the magic link redirect URL by following this guide
- Move all files to TS and fully test
- Write instructions on how to edit NPM package locally
- get tsc watch to make local edits easier
Setting up local development
From the root directory of this project:
yarn link
yarn install
cd node_modules/react
yarn link
cd ../../node_modules/react-dom
yarn link
cd ../..
yarn build:watch
The last line of the previous commands will watch for changes and the UI will automatically update after you link.
Then, from the root directory of the UI project
yarn link ethos-react2
yarn link react
yarn link react-dom
yarn dev
To go back to using the published NPM packages (not your local version), run this in your UI project:
yarn add ethos-react2
yarn add react
yarn add react-dom