Skip to content

Commit

Permalink
fix: preview command in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nten committed Jan 8, 2024
1 parent 22f2980 commit e213bfb
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 1,125 deletions.
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "tsc && vite build && vite build --ssr",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "cd dist && node entry"
},
"dependencies": {
"@vonojs/vono": "../..",
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "tsc && vite build && vite build --ssr",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "cd cloudflare && wrangler dev"
},
"dependencies": {
"@vonojs/vono": "../..",
Expand Down
2 changes: 1 addition & 1 deletion examples/tanstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "vite build && vite build --ssr",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "cd dist && node entry"
},
"dependencies": {
"@gaiia/vono": "../..",
Expand Down
Loading

0 comments on commit e213bfb

Please sign in to comment.