add turbopack for dev && add json placeholder button

This commit is contained in:
sjwie 2024-02-20 11:18:41 +09:00
parent 6735463119
commit bf503e548d
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,12 @@ export default function Home() {
>
Unity
</Link>
<Link
href={`/json-placeholder/${Math.floor(Math.random() * (200 - 1)) + 1}`}
className="m-4 cursor-pointer rounded-md bg-blue-500 p-2 text-white"
>
JSON Placeholder
</Link>
</div>
<p>Next.js tailwind css, ... </p>
</>

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"