Skip to content

Commit d0a0e80

Browse files
committed
2 parents 772b56e + 9731c53 commit d0a0e80

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ You can also run your `dev` & `build` tasks from the GUI to get valuable build s
6464

6565
**NOTE:** During development, _only your assets_ will be served from `localhost:8080` and referenced in the base template. You'll still load your site locally under your normal development domain (mysite.test, etc.). This will also cause a brief unstyled flash on page loads due to JS/CSS assets loading from javascript for development. **This flash isn't present after build, on production**.
6666

67-
Vue's CLI may incorrectly output the wrong URL for the dev server:
68-
```bash
69-
App running at: http://localhost:8080/http://localhost:8080/
70-
# Ignore this bug. Your server will be running at http://localhost:8080
71-
```
72-
7367
After running `npm run build`, the easiest way to test your build files locally is to comment the environment variable in your `.env` file, and refresh the page. This will serve your assets from the build directory, rather than webpack's dev server.
7468

7569
For a detailed explanation on how things work, check out the [Vue CLI docs](https://cli.vuejs.org/).

vue.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module.exports = {
4848
https: config.https,
4949
clientLogLevel: 'info',
5050
headers: { 'Access-Control-Allow-Origin': '*' },
51+
disableHostCheck: true,
5152
before(app, server) {
5253
const sane = require('sane')
5354
var watcher = sane(path.join(__dirname, config.watchDir), {glob: ['**/*']});

0 commit comments

Comments
 (0)