[GH-ISSUE #83] how to create brand new project #24

Closed
opened 2026-05-06 12:36:35 +02:00 by BreizhHardware · 1 comment

Originally created by @junaid-ali-ruk on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/83

how to create brand new project

Originally created by @junaid-ali-ruk on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/cloudflare/vinext/issues/83 how to create brand new project
Author
Owner

@mhs003 commented on GitHub (Feb 26, 2026):

There may be other ways, but this is what I did and it worked fine.

  1. Create a new NextJs project
npm create next-app@latest
  1. Cd into the project directory and install vinext package.
npm i vinext
  1. Initialize vinext (read more)
npx vinext init
  1. Replace next with vinext in the scripts section of your packages.json:
{
  "scripts": {
    "dev": "vinext dev",
    "build": "vinext build",
    "start": "vinext start"
  }
}

You are now ready to go.

(optionally you may remove the next package if it is no longer required.)

<!-- gh-comment-id:3968359141 --> @mhs003 commented on GitHub (Feb 26, 2026): **There may be other ways, but this is what I did and it worked fine.** 1. Create a new NextJs project ```bash npm create next-app@latest ``` 2. Cd into the project directory and install `vinext` package. ```bash npm i vinext ``` 3. Initialize `vinext` [(read more)](https://github.com/cloudflare/vinext?tab=readme-ov-file#migrating-an-existing-nextjs-project) ```bash npx vinext init ``` 4. Replace `next` with `vinext` in the `scripts` section of your `packages.json`: ```json { "scripts": { "dev": "vinext dev", "build": "vinext build", "start": "vinext start" } } ``` **You are now ready to go.** (optionally you may remove the `next` package if it is no longer required.)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#24
No description provided.