Skip to content

Commit 64eb139

Browse files
authored
Update template
1 parent d62e2b0 commit 64eb139

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2+
"postAttachCommand": {
3+
"server": "npm run dev",
4+
},
5+
6+
"portsAttributes": {
7+
"3000": {
8+
"label": "Application",
9+
"onAutoForward": "openPreview"
10+
}
11+
},
12+
13+
"customizations": {
14+
"codespaces": {
15+
"openFiles": ["pages/index.js"]
16+
}
17+
},
218
"onCreateCommand": "npm install && npm run build",
3-
"postCreateCommand": ""
4-
}
19+
"postCreateCommand": "",
20+
"hostRequirements": {"cpus": 4}
21+
}

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# Next.js
1+
# GitHub Codespaces ♥️ Next.js
2+
3+
Welcome to your shiny new Codespace running Next.js! We've got everything fired up and running for you to explore Next.js.
4+
5+
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you!
6+
7+
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish to GitHub" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
8+
9+
To run this application:
210

311
```
412
npm run dev

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)