Skip to content

Commit 4df244f

Browse files
committed
chore: add consistent start targets and Makefiles across examples
1 parent efce7ca commit 4df244f

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.PHONY: start
2+
3+
start:
4+
npm install
5+
npm start

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ cd example-auth-solidstart
9999
npm install
100100

101101
# 3. Start the development server
102-
npm run dev
102+
npm start
103+
# or
104+
make start
103105
```
104106

105107
The application will now be running at `http://localhost:3000`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"seroval": "1.4.2"
1414
},
1515
"scripts": {
16+
"start": "vinxi dev",
1617
"dev": "vinxi dev",
1718
"build": "vinxi build",
18-
"start": "vinxi start",
1919
"preview": "vite preview",
2020
"format": "prettier --write .",
2121
"lint": "prettier --check . && eslint .",

0 commit comments

Comments
 (0)