mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-05 13:47:25 +02:00
Change the dev server's port
This commit is contained in:
@@ -44,7 +44,7 @@ $ npm install
|
|||||||
$ npm run dev-server
|
$ npm run dev-server
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Visit http://localhost:8080 to see it in action.
|
Visit http://localhost:1234 to see it in action.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
@@ -71,6 +71,7 @@ module.exports = {
|
|||||||
devServer: {
|
devServer: {
|
||||||
contentBase: path.join(__dirname, 'dist'),
|
contentBase: path.join(__dirname, 'dist'),
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
|
port: 1234,
|
||||||
},
|
},
|
||||||
plugins,
|
plugins,
|
||||||
// See https://webpack.js.org/guides/caching/
|
// See https://webpack.js.org/guides/caching/
|
||||||
|
Reference in New Issue
Block a user