Next.js 13 snippets. VS Code snippets to help you migrate your next
application to the new app folder and nested layouts paradigm. Currently supports javascript
, tsx
, and jsx
!
Import all layouts described here in the next
13 docs: https://beta.nextjs.org/docs/routing/pages-and-layouts#layouts.
Here's a list of commands currently supported:
rlayout
: create a root layoutlayout
: create a nested layoutpage
: create a pagecpage
: create a client-based pageloading
: create a loading UIerror
: create a error UIhead
: create a head file for a particular routnotfound
: create a not found UI
No current known issues
The initial release! All current commands are described in the features section. The code they generate is the same as the examples provided in the next
13 documentation. Message me on twitter if you would like to contribute!