diff --git a/playground/react-router/package.json b/playground/react-router/package.json index 26df899f6..03be98ec4 100644 --- a/playground/react-router/package.json +++ b/playground/react-router/package.json @@ -3,7 +3,7 @@ "private": true, "type": "module", "scripts": { - "build": "vp build", + "build": "react-router typegen && vp build", "dev": "vp dev" }, "dependencies": {