Browse Source

docs: clarify docs about using template compiler (#9508)

This commit is for https://github.com/vuejs/vue-loader/issues/1494
dev
ULIVZ 6 years ago
committed by Evan You
parent
commit
372d71cbfe
  1. 2
      packages/vue-template-compiler/README.md

2
packages/vue-template-compiler/README.md

@ -2,7 +2,7 @@
> This package is auto-generated. For pull requests please see [src/platforms/web/entry-compiler.js](https://github.com/vuejs/vue/tree/dev/src/platforms/web/entry-compiler.js).
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using [`vue-loader`](https://github.com/vuejs/vue-loader) or [`vueify`](https://github.com/vuejs/vueify) instead, both of which use this package internally.
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. In most cases you should be using it with [`vue-loader`](https://github.com/vuejs/vue-loader), you will only need it separately if you are writing build tools with very specific needs.
## Installation

Loading…
Cancel
Save