Vue 3 Fundamentals

Enviroment Setup Vue 3 requires Node.js for development. Install the Vue CLI globally: npm install -g @vue/cli vue --version # Verify version (≥4.5.0) vue create project-name # Select "Manually select features" during setup Composition API Fundamentals Reactive State Management ref() for Primitive Values <template> <div&g ...

Posted on Sat, 01 Aug 2026 16:18:24 +0000 by tiki

Vue 3 vs Vue 2: Key Differences and Development Impacts

Core Improvements in Vue 3 Performance Enhancements: Virtual DOM rewritten with static node skipping and dynamic node-only processing. Update performence improved by 1.3-2x, and SSR speed increased 2-3x. Tree-shaking Support: Removes unused modules during build. Based on static analysis of ES6 imports to identify and eliminate unused code. Fra ...

Posted on Sun, 26 Jul 2026 16:30:24 +0000 by PHPdev

5 Essential Vue 3 Composition API Methods Every Frontend Developer Must Know in 2024

Understanding these functions deepens your grasp of Vue 3's Composition API and enables you to build more robust and maintainable applications. This guide provides practical examples you can immediately implement in your projects. Overview of Composition API Macros Vue 3 provides these macro functions specifically for defining component propert ...

Posted on Tue, 21 Jul 2026 17:11:51 +0000 by FMB

Vue 3 and Spring Boot with MinIO for File Upload Integration

Begin by seting up a new Vue 3 project using the Vue CLI: npm install -g @vue/cli vue create file-upload-app cd file-upload-app Install Axios to handle HTTP requests: npm install axios Create a reusable file upload component in src/components/FileUploader.vue: <template> <div class="upload-container"> <input ...

Posted on Fri, 17 Jul 2026 17:08:12 +0000 by phphunger

Implementing Computed Properties in Vue 3

Deriving State with CachingComputed properties are used to generate values that depend on other reactive data. Unlike standard methods, they implement a caching mechanism: the value is recalculated only when its specific dependencies change. This optimization makes them superior for handling complex logic directly within templates.Options API E ...

Posted on Mon, 13 Jul 2026 16:27:02 +0000 by lth2h

How to implement v-model for custom components in Vue2 and Vue3

This article demonstrates how to implement v-model functionality in custom components, using input as an example. We'll create a custom component named z-input that can be used with v-model in a parent component like this: <template> <z-input v-model="msg" /> </template> <!-- JS code omitted --> Both Vue 2 ...

Posted on Sun, 12 Jul 2026 17:21:25 +0000 by chaiwei

Vue3 Descriptions Component Implementation

Overview The Descriptions component provides a structured way to display key-value pairs in a tabular format. It consists of two parts: the main Descriptions container and individual DescriptionsItem elements. API Specifications Descriptions Props Property Description Type Default title Title displayed at the top of the description list ...

Posted on Sun, 12 Jul 2026 16:36:35 +0000 by jurdygeorge

Building a Data Visualization Dashboard with Vue 3, Spring Boot, and ECharts

Prerequisites This guide assumes you have already integrated ECharts into your project via npm. The official ECharts website offers various chart examples that you can customize as needed. The final dashboard will look like the following: Frontend Implementation Define a container in the page to display the chart. The interaction between front ...

Posted on Sun, 12 Jul 2026 16:18:38 +0000 by TimUSA

Vue 3 Composition API Essentials and State Management with Pinia

Project Initialization Modern Vue development relies on the official scaffolding tool to bootstrap projects with optimal defaults. Running the initialization command triggers an interactive prompt that configures TypeScript, testing frameworks, router integration, and package managers. npm create vue@latest The generated project structure sepa ...

Posted on Thu, 09 Jul 2026 17:19:57 +0000 by mysty

Leveraging Vue 3 Hooks for Modular and Maintainable Component Logic

Vue 3 introduces a funtcional approach to reusing component logic through hooks, addressing limitations found in Vue 2's mixins and higher-order components. Hooks enable grouping related state and behavior into reusable functions, improving clarity and maintainability. Core Concepts of Vue 3 Hooks Hooks in Vue 3 are plain JavaScript functions b ...

Posted on Tue, 07 Jul 2026 17:58:52 +0000 by SystemLord