docs.rodeo

MDN Web Docs mirror

Vue resources

{{LearnSidebar}} 

{{PreviousMenu("Learn_web_development/Core/Frameworks_libraries/Vue_refs_focus_management", "Learn_web_development/Core/Frameworks_libraries")}} 

Now we’ll round off our study of Vue by giving you a list of resources that you can use to go further in your learning, plus some other useful tips.

Prerequisites:

Familiarity with the core HTML, CSS, and JavaScript languages, knowledge of the terminal/command line.

Vue components are written as a combination of JavaScript objects that manage the app's data and an HTML-based template syntax that maps to the underlying DOM structure. For installation, and to use some of the more advanced features of Vue (like Single File Components or render functions), you'll need a terminal with node + npm installed.

Objective: To learn where to go to find further information on Vue, to continue your learning.

Further resources

Here’s where you should go to learn more about Vue:

Building and publishing your Vue app

The Vue CLI also provides us with tools for preparing our app for publishing to the web. You can do this like so:

This will create a new dist directory containing all of your production ready files. To publish your site to the web, copy the contents of this folder to your hosting environment.

[!NOTE] The Vue CLI docs also include a specific guide on how to publish your app to many of the common hosting platforms.

Vue 2

Vue 2 support will end on December 31st, 2023 and the default Vue version for all CLI tools will be version 3 and above. The Composition API works as an alternative to the property-based API where a setup() function is used on the component. Only what you return from this function is available in your <template>s. You are required to be explicit about “reactive” properties when using this API. Vue handles this for you using the Options API. This makes the new API typically considered a more advanced use case.

If you’re upgrading from Vue 2, it’s recommended you take a look at the Vue 3 migration guide.

{{PreviousMenu("Learn_web_development/Core/Frameworks_libraries/Vue_refs_focus_management", "Learn_web_development/Core/Frameworks_libraries")}} 

In this article

View on MDN