Global web icon
vuejs.org
https://vuejs.org/guide/built-ins/keep-alive.html
KeepAlive - Vue.js
KeepAlive is a Vue.js component that caches inactive components to improve performance and reduce re-rendering for better user experience in web applications.
Global web icon
vuejs.org
https://cli.vuejs.org/guide/html-and-static-assets…
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 addition, Vue CLI also automatically injects resource hints (preload/prefetch), manifest/icon links (when PWA plugin is used), and the asset links for the JavaScript and CSS files produced during the ...
Global web icon
vuejs.org
https://vuejs.org/guide/typescript/composition-api…
TypeScript with Composition API - Vue.js
Learn how to use TypeScript with Vue.js Composition API for improved type safety and development experience.
Global web icon
vuejs.org
https://router.vuejs.org/guide/migration/
Migrating from Vue 2 - Vue Router
Most of Vue Router API has remained unchanged during its rewrite from v3 (for Vue 2) to v4 (for Vue 3) but there are still a few breaking changes that you might encounter while migrating your application. This guide is here to help you understand why these changes happened and how to adapt your application to make it work with Vue Router 4. Breaking Changes Changes are ordered by their usage ...
Global web icon
vuejs.org
https://vuejs.org/style-guide/rules-strongly-recom…
Priority B Rules: Strongly Recommended - Vue.js
It may include components like this one: As you might notice, it's quite difficult to see which components are specific to the search. Now let's rename the components according to the rule: Since editors typically organize files alphabetically, all the important relationships between components are now evident at a glance.
Global web icon
vuejs.org
https://v3.cli.vuejs.org/guide/html-and-static-ass…
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 addition, Vue CLI also automatically injects resource hints (preload/prefetch), manifest/icon links (when PWA plugin is used), and the asset links for the JavaScript and CSS files produced during the ...
Global web icon
vuejs.org
https://vuejs.org/api/built-in-components.html
Built-in Components - Vue.js
Built-in components can be used directly in templates without needing to be registered. They are also tree-shakeable: they are only included in the build when they are used.
Global web icon
vuejs.org
https://v2.vuejs.org/v2/guide/conditional?redirect…
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 <template> element, which serves as an invisible wrapper. The final rendered result will not include the <template> element.
Global web icon
vuejs.org
https://router.vuejs.org/installation.html
Installation - Vue Router
If you're starting a new project, you might find it easier to use the create-vue scaffolding tool, which creates a Vite-based project with the option to include Vue Router:
Global web icon
vuejs.org
https://vue-loader.vuejs.org/guide/
Getting Started | Vue Loader
Getting Started Vue CLI If you are not interested in manually setting up webpack, it is recommended to scaffold a project with Vue CLI instead. Projects created by Vue CLI are pre-configured with most of the common development needs working out of the box. Follow this guide if the built-in configuration of Vue CLI does not suit your needs, or you'd rather create your own webpack config from ...