![]() runtime are full builds: they include the compiler and support compiling templates directly in the browser. When using these builds, all templates must be pre-compiled via a build step.īuild files that do not include. To reduce client bundle size, Vue provides different "builds" optimized for different use cases.īuild files that start with vue.runtime.* are runtime-only builds: they do not include the compiler. On the other hand, the compiler would be unnecessary if we pre-compile the templates with a build step. In such cases, Vue needs to ship the template compiler to the browser in order to perform on-the-fly template compilation. When using Vue without a build step, component templates are written either directly in the page's HTML or as inlined JavaScript strings. Note on In-Browser Template Compilation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |