2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-08 01:02:24 +03:00

chore: replace npm with yarn in readme

fix: change default port for examples server to 3000
This commit is contained in:
pimlie
2019-02-11 00:15:47 +01:00
parent bfbd18189b
commit ec82e1ef9e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -847,6 +847,6 @@ If this were not the case, you would have to instruct Babel to convert `default`
# Examples
To run the examples; clone this repository & run `cd examples && npm install` in the root directory, and then run `npm run start`. Head to http://localhost:8080.
To run the examples locally; clone this repository and run `cd examples && yarn install` in the root directory, then run `yarn start`. Head to http://localhost:3000 or run with `HOST=0.0.0.0 PORT=8080 yarn start` to change host or port
If you would like to help to develop vue-meta then run `npm install` both in the root and examples dir and run `npm run dev`
If you would like to help to develop vue-meta then run `yarn install` both in the root and examples dir and run `yarn dev`
+1 -1
View File
@@ -25,7 +25,7 @@ fs.readdirSync(__dirname).forEach(file => {
app.use(express.static(__dirname))
const host = process.env.HOST || 'localhost'
const port = process.env.PORT || 8080
const port = process.env.PORT || 3000
module.exports = app.listen(port, host, () => {
console.log(`Server listening on http://${host}:${port}, Ctrl+C to stop`)