Integrating LESS with Vue 3 and Vite: Global Variable Configuration
This guide assumes you have initialized a project using the Vue CLI scaffolding with Vite support:
npm init vue@latest
Ensure your dependencies align with modern versions, such as:
"@vitejs/plugin-vue": "^5.0.4",
"vue": "^3.4.21"
Objective
The goal is to configure the project sothat global LESS variab ...
Posted on Sun, 01 Nov 2026 16:36:52 +0000 by bogins
Implementing Element Plus in Vue 3 Applications
Environment Setup
Ensure the development environment is prepared with Node.js version 21.7 or higher. While the legacy Vue CLI is available, using Vite is the recommended approach for modern Vue 3 projects due to its faster build times.
# Initialize a new Vite project
npm create vite@latest my-admin-panel -- --template vue
# Navigate to the d ...
Posted on Sat, 31 Oct 2026 16:37:23 +0000 by fxmzb123
Hybrid Vite and Vue CLI Setup for Vue 2 Electron Projects
Vite offers a superior development experience for Vue 2 projects, although its default build output may require adjustments for direct file browsing or legacy browser compatibility. A hybrid approach leverages Vite for the development server speed while utilizing Vue CLI for the production build process. This ensures compatibility with older en ...
Posted on Fri, 02 Oct 2026 16:26:36 +0000 by musicdirector
Integrating Dynamic Routing with React Router in a Vite Project
To add client-side routing to a React application scaffolded with Vite, you typically install react-router-dom and restructure your entry point to use BrowserRouter and Routes. This allows you to define which component renders to each URL path, including dynamic segments.
Below we walk through converting a simple main.jsx file that renders only ...
Posted on Wed, 16 Sep 2026 16:56:19 +0000 by workbench
Fundamentals of Vue 3 Development
Creating a Vue 3 Project
Creating with Vue CLI
Vue CLI is currently in maintenance mode, and the official Vue documentation recommends creating new projects with Vite instead.
Creating with Vite
Vite is a next-generation frontend build tool that offers key benefits:
Hot module replacement for fast local development
Out-of-the-box support for T ...
Posted on Thu, 10 Sep 2026 16:31:39 +0000 by playa4real
Building Desktop Applications with Electron and Vue 3
Required Packages
Vite: https://vitejs.cn
Vue: https://cn.vuejs.org
Electron: https://www.electronjs.org/
electron-builder: https://github.com/electron-userland/electron-builder
concurrently: https://github.com/open-cli-tools/concurrently
Project Setup
Creating the Vue Application
Ensure Node.js is installed, then run:
npm init vue@latest
Th ...
Posted on Wed, 09 Sep 2026 16:21:34 +0000 by laknal
Configuring Global Color Palettes in React and Vite Applications
Establishing Consistent Design Tokens
Implementing a unified color scheme in a modern React application bundled with Vite requires selecting an approach that aligns with your styling architecture. The following patterns demonstrate how to inject primary and secondary hues into your interface.
1. Native CSS Custom Properties
Defining design toke ...
Posted on Thu, 20 Aug 2026 16:29:41 +0000 by aikman
Integrating SCSS with Vue 3 and Vite for Advanced Styling
Project Setup
Initialize a Vue 3 project with Vite and add the Sass preprocessor dependency:
npm install sass -D
Configuring Global Variables
To make SCSS variables available across all components without explicit imports, configure the additionalData option in vite.config.js. This injects the content of a global file into every style block.
i ...
Posted on Sun, 16 Aug 2026 16:57:39 +0000 by killfall
Setting Up, Running, and Building React Projects
React Resources
Official React Documentation: https://react.dev/
Chinese React Documentation: https://zh-hans.react.dev/
React GitHub Repository: https://github.com/facebook/react
Creating React Projects
Method 1: Use Official React Scaffolding Tools
Option A: Next.js Project (Full-Stack Ready)
Initialize a React-based Next.js project with in ...
Posted on Wed, 22 Jul 2026 17:01:59 +0000 by ironman32
Building a Vue 3 Admin Panel: Setup and Configuration
This project utilizes Vue 3, TypeScript, Vue Router, Pinia, Element Plus, Axios, and ECharts.
Project Initialization
This guide covers the process of setting up a Vue 3-based admin management system from scratch. Establishing consistent project standards is crucial. We'll integrate ESLint, Stylelint, and Prettier for code quality checks and aut ...
Posted on Sat, 18 Jul 2026 16:04:45 +0000 by ghost007