Nuxt/examples/custom-port-host/pages/index.vue
Anthony Fu 0dff1b8fe9 feat: support server option in nuxt.config.js to set PORT and HOST (#3701)
* feat: support `server` option in `nuxt.config.js` to set PORT and HOST

* lint

* change the conifg priority to `argv > nuxt.config.js > env.NUXT_PORT > env.PORT > package.json > default`

* check for `options.server`
2018-08-12 15:26:30 +01:00

4 lines
82 B
Vue

<template>
<p>Set port and host in <code>nuxt.config.js</code>.</p>
</template>