
KeepAlive - Vue.js
Include / Exclude By default, <KeepAlive> will cache any component instance inside. We can customize this behavior via the include and exclude props. Both props can be a comma-delimited string, a …
HTML and Static Assets - Vue CLI
Result filenames include content hashes so you don’t need to worry about browsers caching their old versions. The public directory is provided as an escape hatch, and when you reference it via …
Options: Misc - Vue.js
The name option allows you to override the inferred name, or to explicitly provide a name when no name can be inferred (e.g. when not using build tools, or an inlined non-SFC component). There is one …
Scoped CSS | Vue Loader
Mixing Local and Global Styles You can include both scoped and non-scoped styles in the same component:
HTML and Static Assets | Vue CLI
Sep 2, 2019 · Result filenames include content hashes so you don’t need to worry about browsers caching their old versions. The public directory is provided as an escape hatch, and when you …
Template Syntax - Vue.js
Learn the basics of Vue.js template syntax, including dynamic content rendering, directives, and expressions for building interactive web applications.
TypeScript with Composition API - Vue.js
In cases where the exact type of the component isn't available or isn't important, ComponentPublicInstance can be used instead. This will only include properties that are shared by …
Conditional Rendering — Vue.js
Conditional Groups with v-if on <template> Because v-if is a directive, it has to be attached to a single element. But what if we want to toggle more than one element? In this case we can use v-if on a …
Tooling | Vue.js
Build files that do not include .runtime are full builds: they include the compiler and support compiling templates directly in the browser. However, they will increase the payload by ~14kb. Our default …
Security - Vue.js
However, this isn't the only way to include strings that would be evaluated as JavaScript at runtime. Every HTML element has attributes with values accepting strings of JavaScript, such as onclick, …