File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
emailpassword/nextjs/app-directory
passwordless/nextjs/app-directory
thirdpartyemailpassword/nextjs/app-directory
thirdpartypasswordless/nextjs/app-directory
thirdparty/nextjs/app-directory Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109109
110110## 4) Create a frontend config function
111111
112- ```tsx title = " app/config/frontend.ts "
112+ ```tsx title = " app/config/frontend.tsx "
113113import EmailPasswordReact from ' supertokens-auth-react/recipe/emailpassword'
114114import SessionReact from ' supertokens-auth-react/recipe/session'
115115// @ts-ignore
@@ -154,7 +154,7 @@ export const frontendConfig = (): SuperTokensConfig => {
154154
155155## 4) Create a frontend config function
156156
157- ```tsx title="app/config/frontend.ts "
157+ ```tsx title="app/config/frontend.tsx "
158158import EmailPasswordWebJs from 'supertokens-web-js/recipe/emailpassword'
159159import SessionWebJs from 'supertokens-web-js/recipe/session'
160160// @ts-ignore
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const appInfo = {
113113
114114## 4) Create a frontend config function
115115
116- ```tsx title = " app/config/frontend.ts "
116+ ```tsx title = " app/config/frontend.tsx "
117117import PasswordlessReact from ' supertokens-auth-react/recipe/passwordless'
118118import SessionReact from ' supertokens-auth-react/recipe/session'
119119// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160160
161161## 4) Create a frontend config function
162162
163- ```tsx title="app/config/frontend.ts "
163+ ```tsx title="app/config/frontend.tsx "
164164import PasswordlessWebJs from 'supertokens-web-js/recipe/passwordless'
165165import SessionWebJs from 'supertokens-web-js/recipe/session'
166166// @ts-ignore
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109109
110110## 4) Create a frontend config function
111111
112- ```tsx title = " app/config/frontend.ts "
112+ ```tsx title = " app/config/frontend.tsx "
113113import ThirdPartyReact, { Google , Facebook } from ' supertokens-auth-react/recipe/thirdparty'
114114import SessionReact from ' supertokens-auth-react/recipe/session'
115115// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163163
164164## 4) Create a frontend config function
165165
166- ```tsx title="app/config/frontend.ts "
166+ ```tsx title="app/config/frontend.tsx "
167167import ThirdPartyWebJs from 'supertokens-web-js/recipe/thirdparty'
168168import SessionWebJs from 'supertokens-web-js/recipe/session'
169169// @ts-ignore
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const appInfo = {
109109
110110## 4) Create a frontend config function
111111
112- ```tsx title = " app/config/frontend.ts "
112+ ```tsx title = " app/config/frontend.tsx "
113113import ThirdPartyEmailPasswordReact from ' supertokens-auth-react/recipe/thirdpartyemailpassword'
114114import SessionReact from ' supertokens-auth-react/recipe/session'
115115// @ts-ignore
@@ -163,7 +163,7 @@ export const frontendConfig = (): SuperTokensConfig => {
163163
164164## 4) Create a frontend config function
165165
166- ```tsx title="app/config/frontend.ts "
166+ ```tsx title="app/config/frontend.tsx "
167167import ThirdPartyEmailPasswordWebJs from 'supertokens-web-js/recipe/thirdpartyemailpassword'
168168import SessionWebJs from 'supertokens-web-js/recipe/session'
169169// @ts-ignore
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const appInfo = {
113113
114114## 4) Create a frontend config function
115115
116- ```tsx title = " app/config/frontend.ts "
116+ ```tsx title = " app/config/frontend.tsx "
117117import ThirdPartyPasswordlessReact from ' supertokens-auth-react/recipe/thirdpartypasswordless'
118118import SessionReact from ' supertokens-auth-react/recipe/session'
119119// @ts-ignore
@@ -160,7 +160,7 @@ export const frontendConfig = (): SuperTokensConfig => {
160160
161161## 4) Create a frontend config function
162162
163- ```tsx title="app/config/frontend.ts "
163+ ```tsx title="app/config/frontend.tsx "
164164import ThirdPartyPasswordlessWebJs from 'supertokens-web-js/recipe/thirdpartypasswordless'
165165import SessionWebJs from 'supertokens-web-js/recipe/session'
166166// @ts-ignore
You can’t perform that action at this time.
0 commit comments