Skip to content

Commit

Permalink
chore: Change dev port from 3000 to 5252
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrotule committed Jun 27, 2024
1 parent 11ca23f commit 07246a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"scripts": {
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
"dev": "nuxi dev playground",
"dev": "nuxi dev playground --port 5252",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
Expand Down
5 changes: 5 additions & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
const DEV_PORT = 5252

export default defineNuxtConfig({
devtools: { enabled: true },
devServer: {
port: Number(process.env.PORT) && DEV_PORT,
},
modules: ['@nuxt/ui', 'nuxt-request-timeline'],
requestTimeline: {},

Expand Down

0 comments on commit 07246a1

Please sign in to comment.