Skip to content

Commit

Permalink
use userfront/react for react
Browse files Browse the repository at this point in the history
ref: DEV-1499
  • Loading branch information
stephencattaneo committed Sep 9, 2024
1 parent 058eb12 commit f8a7748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.10.0
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,7 @@ To install and use the Userfront Toolkit, follow the instructions for your frame

### React

**Install:** `npm install --save @userfront/toolkit`

**Use:**

```js
import Userfront, { SignupForm } from "@userfront/toolkit/react";

Userfront.init("myTenantId");

export default function MyComponent() {
return <SignupForm />;
}
```
Use Userfront React instead: [https://github.com/userfront/userfront/tree/main/packages/react](https://github.com/userfront/userfront/tree/main/packages/react)

### Vue

Expand Down

0 comments on commit f8a7748

Please sign in to comment.