docs: fix typo in env doc (#1344)

This commit is contained in:
Guillaume Hamoniez
2018-05-22 09:00:14 -05:00
committed by Evan You
parent 1075576690
commit f50b0dbf9a

View File

@@ -63,7 +63,7 @@ In addition to `VUE_APP_*` variables, there are also two special variables that
All resolved env variables will be available inside `public/index.html` via [lodash template interpolation](https://lodash.com/docs/4.17.5#template):
- `<%= VAR %>` for unescaped interpolation;
- `<%- VAR %>` for HTML-escaped interpolationl;
- `<%- VAR %>` for HTML-escaped interpolation;
- `<% expression %>` for JavaScript control flows.
For example, to reference static assets copied from the root of `public`, you will need to use the `BASE_URL` variable: