Skip to content

Commit

Permalink
Add preview commands to Vite samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Feb 12, 2023
1 parent 9c0c16c commit 36a36d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sample/vite3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite serve"
"dev": "vite",
"preview": "vite preview"
},
"author": {
"name": "Wojciech Maj",
Expand Down
3 changes: 2 additions & 1 deletion sample/vite4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite serve"
"dev": "vite",
"preview": "vite preview"
},
"author": {
"name": "Wojciech Maj",
Expand Down

0 comments on commit 36a36d4

Please sign in to comment.