coreui / coreui-free-bootstrap-admin-template

Free Bootstrap Admin & Dashboard Template
https://coreui.io/product/free-bootstrap-admin-template/
MIT License
11.94k stars 3.14k forks source link

Server Port #593

Closed silfar closed 1 year ago

silfar commented 2 years ago

How do I change the port where the node server runs?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Flixt commented 3 months ago

Just in case anybody comes around and wants to know. The easiest way would be in package.json to change

"localhost": "browser-sync start --server \"./dist\" --serveStatic \"./\" --files \"./dist/\""

to (e.g. for port 3002)

"localhost": "browser-sync start --server \"./dist\" --serveStatic \"./\" --files \"./dist/\" --port 3002"