Skip to content

Latest commit

 

History

History
 
 

README.md


@clerk/elements


Overview

Clerk is the easiest way to add authentication and user management to your React application. Add sign up, sign in, and profile management to your application in minutes.

Package Development

turbo dev --filter=elements

Examples NextJS Development

Setup:

cd examples/nextjs && npm i

Development Server:

Changes in the packages/elements directory will be hotloaded in the example app.

cd examples/nextjs && npm run dev

E2E Testing

cd examples/nextjs && npm run e2e

# With UI: https://playwright.dev/docs/running-tests#run-tests-in-ui-mode
npm run e2e -- --ui

# Headed Mode: https://playwright.dev/docs/running-tests#run-tests-in-headed-mode
npm run e2e -- --headed

# Specific Tests: https://playwright.dev/docs/running-tests#run-specific-tests
npm run e2e -- e2e/elements.spec.ts