![]() ![]() npx create-next-app -example api-routes). Support for Examples: Create Next App can bootstrap your application using an example from the Next.js examples collection (e.g.Offline Support: Create Next App will automatically detect if you're offline and bootstrap your project using your local package cache.Zero Dependencies: Initializing a project is as quick as one second. ![]() Interactive Experience: Running npx (with no arguments) launches an interactive experience that guides you through setting up a project.It is officially maintained by the creators of Next.js, and includes a number of benefits: example-path foo/bar Why use Create Next App?Ĭreate-next-app allows you to create a new Next.js app within seconds. In this case, you must specify the path to the example separately: bug/fix-1) and the path to the example (e.g. In a rare case, your GitHub URL might contain a branch name withĪ slash (e.g. You can use an example nameįrom the official Next.js repo or a GitHub URL. (default)Įxplicitly tell the CLI to bootstrap the app using npmĮxplicitly tell the CLI to bootstrap the app using pnpmĪn example to bootstrap the app with. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |