Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 440 Bytes

MIGRATION.md

File metadata and controls

14 lines (8 loc) · 440 Bytes

Migrate from v6 to v7

Using Next.JS pages architecture:

  • Rename imports from @frontegg/nextjs to @frontegg/nextjs/pages

Using Next.JS edge runtime

  • Rename imports from @frontegg/nextjs to @frontegg/nextjs/edge

Using Next.JS 13 with app directory architecture:

  • Server Side components should be imported from @frontegg/nextjs/server
  • Client Side components should be imported from @frontegg/nextjs/client