Skip to content

Commit

Permalink
Update Vite dev command to expose host 💞 (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
willnguyen1312 authored May 9, 2024
1 parent c4d3850 commit aeecfcc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/with-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"dependencies": {
"@zoom-image/core": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"dependencies": {
"@zoom-image/core": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"license": "MIT",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"dependencies": {
"@zoom-image/core": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"devDependencies": {
"@unocss/reset": "^0.58.5",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite --host"
},
"dependencies": {
"@zoom-image/core": "latest",
Expand Down

0 comments on commit aeecfcc

Please sign in to comment.