Tag

vite

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 12, 2025 · Frontend Development

Mastering Module Federation with Vite & Vue: A Step‑by‑Step Guide

Learn how to implement Webpack’s Module Federation using Vite and Vue, covering core concepts, advantages over traditional micro‑frontend solutions, detailed setup steps, code examples, and common pitfalls such as dependency conflicts and version mismatches.

JavaScriptVuefrontend
0 likes · 8 min read
Mastering Module Federation with Vite & Vue: A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 29, 2025 · Frontend Development

Creating a Git Information Injection Plugin for Webpack and Vite Using Trae‑Builder

This article explains how to develop a custom plugin that automatically captures Git metadata during build time, injects it into the bundled code, and exposes the information via a console command, with step‑by‑step guidance for both Webpack and Vite projects using Trae‑Builder.

JavaScriptTrae-BuilderWebpack
0 likes · 12 min read
Creating a Git Information Injection Plugin for Webpack and Vite Using Trae‑Builder
IT Services Circle
IT Services Circle
May 17, 2025 · Frontend Development

Essential Vue3 Ecosystem Tools and Their Installation Guides

This article introduces a curated collection of Vue 3 ecosystem tools—including create‑vue, TypeScript support, vue‑router, Pinia, Vite, VueUse, ESLint/Prettier, UnoCSS, UI component libraries, debugging plugins, uni‑app, electron integration, VitePress, and Nuxt—providing concise descriptions and npm installation commands to help developers quickly set up modern front‑end projects.

NuxtPiniaTypeScript
0 likes · 8 min read
Essential Vue3 Ecosystem Tools and Their Installation Guides
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 26, 2025 · Frontend Development

Decentralized Micro‑Frontend Architecture with Vite Module Federation in Vue 3

This article explains how to build a decentralized micro‑frontend system for Vue 3 using the Vite‑based @originjs/vite-plugin-federation, covering architecture concepts, configuration, dynamic module loading, shared routing, state management with Pinia, and deployment strategies, complete with code examples.

Vue3dynamic loadingfrontend
0 likes · 15 min read
Decentralized Micro‑Frontend Architecture with Vite Module Federation in Vue 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 8, 2025 · Frontend Development

auto-i18n-translation-plugins: Automatic Internationalization for Frontend Projects

This article introduces the auto-i18n-translation-plugins, a framework‑agnostic Vite/Webpack plugin that automatically extracts Chinese text from source code, replaces it with hash‑based $t calls, generates language packs, and seamlessly translates new or incremental strings using configurable translators such as Youdao or Google.

BabelPluginautomation
0 likes · 18 min read
auto-i18n-translation-plugins: Automatic Internationalization for Frontend Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 13, 2025 · Frontend Development

auto-i18n-translation-plugins: A Full-Automatic Frontend Internationalization Plugin for Vite and Webpack

The article introduces auto‑i18n‑translation‑plugins, a Babel‑based automatic internationalization plugin for frontend projects that works with Vite and Webpack, detailing its features, installation, configuration options, translator setup, usage examples, and best practices for generating multilingual JSON translation files without modifying business code.

JavaScriptPluginWebpack
0 likes · 13 min read
auto-i18n-translation-plugins: A Full-Automatic Frontend Internationalization Plugin for Vite and Webpack
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 28, 2025 · Frontend Development

Getting Started with Vite Plugin Development for Frontend Developers

This article guides pure frontend developers with little or no Node.js experience through the fundamentals of creating Vite plugins, covering concepts such as code injection, file operations, and file routing, and provides practical examples and best‑practice tips to enhance development efficiency.

Code InjectionNode.jsfrontend
0 likes · 14 min read
Getting Started with Vite Plugin Development for Frontend Developers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 21, 2025 · Frontend Development

Building a Frontend Build‑Info Plugin with Trae AI: A Step‑by‑Step Guide

This article demonstrates how to create a "dist‑info" plugin compatible with Webpack and Vite that automatically injects Git metadata into the built HTML, using the AI‑assisted Trae IDE to scaffold the project, write core code, and publish the package to GitHub and npm.

Build InfoPluginTrae
0 likes · 17 min read
Building a Frontend Build‑Info Plugin with Trae AI: A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 18, 2025 · Frontend Development

Optimizing Micro‑Frontend Applications with Dependency Sharing and CDN Externalization

This article explains how to reduce bundle size and improve load speed of large micro‑frontend projects by sharing common dependencies through CDN externalization, using tools such as qiankun, vite‑plugin‑cdn‑import, and Rollup plugins for HTML generation.

CDNdependency sharingfrontend optimization
0 likes · 9 min read
Optimizing Micro‑Frontend Applications with Dependency Sharing and CDN Externalization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 12, 2025 · Frontend Development

UnoCSS Installation, Basic Usage, Presets, Transformers, and Common Tips

This article provides a comprehensive guide to UnoCSS, covering installation in Vue 3 + Vite and Nuxt 3 projects, basic syntax and interactive documentation, Iconify SVG integration, various presets and transformers, as well as practical shortcuts, responsive design, safelist handling, custom rules, theming, and dark‑mode support.

CSS UtilityNuxtPresets
0 likes · 22 min read
UnoCSS Installation, Basic Usage, Presets, Transformers, and Common Tips
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 10, 2025 · Frontend Development

Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design

This article explains how to create a custom PostCSS plugin for Vite that converts pixel units to viewport width units, covering meta tag setup, plugin configuration, TypeScript implementation, handling multi‑value properties, and troubleshooting conversion issues.

CSSPostCSSResponsive Design
0 likes · 8 min read
Creating a Custom PostCSS px-to-viewport Plugin for Vite to Achieve Responsive Design
php中文网 Courses
php中文网 Courses
Feb 5, 2025 · Frontend Development

Integrating Vue.js with Laravel Using Vite: A Step‑by‑Step Guide

This tutorial walks you through setting up a Laravel project, installing Laravel Breeze, configuring Vite for Vue.js, creating a TaskList component, registering it in the Blade template, and running the development server to see a responsive Vue‑driven task manager.

JavaScriptLaravelPHP
0 likes · 6 min read
Integrating Vue.js with Laravel Using Vite: A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 27, 2025 · Frontend Development

Handling Page Refresh and Cache Updates in Vue SPA with Vite

This article explains why users may still see outdated pages after a Vue SPA deployment, analyzes the caching issues caused by static asset headers, and provides both back‑end coordinated and pure front‑end solutions—including WebSocket, SSE, ETag polling, custom Vite plugins, and example code—to automatically detect and prompt updates.

CacheETagSSE
0 likes · 6 min read
Handling Page Refresh and Cache Updates in Vue SPA with Vite
大转转FE
大转转FE
Jan 21, 2025 · Frontend Development

code‑inspector‑plugin: A Frontend Development Tool for Fast Source‑Code Location and IDE Integration

The article introduces code‑inspector‑plugin, an open‑source plugin for bundlers like webpack, Vite, and Rspack that lets developers click a DOM element in the browser to instantly open the corresponding source file in their IDE, detailing installation, configuration, usage, implementation principles, and common troubleshooting tips.

IDE IntegrationWebpackcode-inspector
0 likes · 24 min read
code‑inspector‑plugin: A Frontend Development Tool for Fast Source‑Code Location and IDE Integration
DevOps
DevOps
Jan 20, 2025 · Frontend Development

Top Frontend Open‑Source Projects to Watch in 2025

This article reviews seven leading front‑end open‑source projects for 2025—Vite, Bun, React 19, Next.js 15, Solid.js, Tailwind CSS, and Astro—highlighting their key features, integration capabilities, and ideal use‑cases for modern web development.

BunNext.jsReact
0 likes · 8 min read
Top Frontend Open‑Source Projects to Watch in 2025
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 9, 2025 · Frontend Development

Comprehensive Guide to Vite Configuration: Aliases, Plugins, Environment Variables, Build Optimizations, and Code Splitting

This article provides a detailed walkthrough of Vite's configuration options, covering development server setup, path aliasing, TypeScript support, plugin integration, environment variable handling, CSS pre‑processor settings, dependency pre‑bundling, production build tweaks, and advanced code‑splitting strategies for modern frontend projects.

ConfigurationTypeScriptbuild tool
0 likes · 17 min read
Comprehensive Guide to Vite Configuration: Aliases, Plugins, Environment Variables, Build Optimizations, and Code Splitting
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 4, 2025 · Frontend Development

Vite Port Detection Issue Caused by Host Configuration in Micro‑Frontend Projects

During development of a micro‑frontend project using wujie, the child app required port 5173 for communication, but newly created Vite React‑TS projects failed to auto‑increment the port, revealing that Vite’s port‑detection logic also depends on the host setting, not just the port number.

Host ConfigurationPort DetectionReact
0 likes · 4 min read
Vite Port Detection Issue Caused by Host Configuration in Micro‑Frontend Projects
IT Services Circle
IT Services Circle
Dec 30, 2024 · Frontend Development

Automatically Import Vue and Vite APIs with unplugin-auto-import

This article explains how to use the unplugin-auto-import plugin to automatically import Vue core functions, Naive UI components, and other libraries in a Vue 3 + Vite + TypeScript project, reducing repetitive import statements and improving code readability.

TypeScriptVueauto import
0 likes · 5 min read
Automatically Import Vue and Vite APIs with unplugin-auto-import
vivo Internet Technology
vivo Internet Technology
Dec 25, 2024 · Frontend Development

Vite + Svelte for Small Projects: Performance and Development Experience Compared with Vue

For small front‑end projects, the Vite + Svelte stack replaces heavyweight Vue with a lightweight solution that delivers near‑instant hot‑module replacement, 38 % smaller bundles, roughly 46 % faster first‑contentful‑paint and 14 % quicker startup, while requiring only a few days to become productive.

Build ToolsSvelteVue
0 likes · 16 min read
Vite + Svelte for Small Projects: Performance and Development Experience Compared with Vue
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 19, 2024 · Frontend Development

Onionl-UI: Building a Vue 3 Component Library – Architecture, Build Process, and Unit Testing

This article introduces Onionl-UI, a newly created Vue 3 component library, describing its motivation, current status, technology choices such as Vite and UnoCSS, directory layout, build configuration, component implementation, and unit testing with Vitest, offering a practical walkthrough for frontend engineers.

BuildComponent LibraryUnoCSS
0 likes · 8 min read
Onionl-UI: Building a Vue 3 Component Library – Architecture, Build Process, and Unit Testing