Open links in new tab
  1. 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 …

  2. HTML and Static Assets - Vue CLI

    HTML and Static Assets HTML The Index File The file public/index.html is a template that will be processed with html-webpack-plugin. During build, asset links will be injected automatically. In …

  3. Migrating to Vue Router 5

    TIP Vue Router 5 is a transition release that merges unplugin-vue-router (file-based routing) into the core package. If you're using Vue Router 4 without unplugin-vue-router, there are no breaking …

  4. Quick Start - Vue.js

    Quick Start Try Vue Online To quickly get a taste of Vue, you can try it directly in our Playground. If you prefer a plain HTML setup without any build steps, you can use this JSFiddle as your starting point. If …

  5. Using Vue with TypeScript

    When configuring tsconfig.json manually, some notable options include: compilerOptions.isolatedModules is set to true because Vite uses esbuild for transpiling TypeScript …

  6. KeepAlive - Vue.js

    KeepAlive 是 Vue.js 提供的一个内置组件,用于缓存动态组件的状态,提升性能和用户体验。

  7. Introduction — Vue.js

    In the cookbook, we can include more complex examples, combining features in interesting ways. Each recipe can also be as long and detailed as it needs to be, in order to fully explore its niche.

  8. Vue.js

    In both cases, you can also pass an additional object which can include the prop's options and the model ref's value transform options. ```js // declares "modelValue" prop, consumed by parent via v …

  9. Vue Router

    Features include: Nested route/view mapping Modular, component-based router configuration Route params, query, wildcards View transition effects powered by Vue.js' transition system Fine-grained …

  10. Template Syntax - Vue.js

    Learn the basics of Vue.js template syntax, including dynamic content rendering, directives, and expressions for building interactive web applications.