Skip to content

Commit

Permalink
doc: readme server.origin
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangHongEn committed Nov 25, 2024
1 parent 45b1616 commit e825266
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export default defineConfig({
shared: ["vue"],
}),
],
server: {
origin: "http://localhost:{Your port}"
},
// Do you need to support build targets lower than chrome89?
// You can use 'vite-plugin-top-level-await' plugin for that.
build: {
Expand Down Expand Up @@ -106,6 +109,9 @@ export default defineConfig({
shared: ["vue"],
}),
],
server: {
origin: "http://localhost:{Your port}"
},
// Do you need to support build targets lower than chrome89?
// You can use 'vite-plugin-top-level-await' plugin for that.
build: {
Expand Down

0 comments on commit e825266

Please sign in to comment.