Skip to content

Commit

Permalink
Add note on testing build files
Browse files Browse the repository at this point in the history
  • Loading branch information
chasegiunta committed Aug 4, 2018
1 parent 5646bee commit f960465
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ You can also run your `dev` & `build` tasks from the GUI to get valuable build s

**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**.

For a detailed explanation on how things work, check out the [Vue CLI docs](https://cli.vuejs.org/).
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.

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

## Pre-Processors

Expand Down

0 comments on commit f960465

Please sign in to comment.