Tag

vue-loader

1 views collected around this technical thread.

政采云技术
政采云技术
Jul 12, 2023 · Frontend Development

Detailed Explanation of Vue 2 Template Compilation Process

This article walks through how Vue 2 templates are compiled into render functions using webpack, vue‑loader, template‑loader and the underlying compiler, illustrating each step with project structure, source code snippets, and a deep dive into the AST‑to‑render pipeline.

FrontendJavaScriptTemplate Compilation
0 likes · 16 min read
Detailed Explanation of Vue 2 Template Compilation Process
Tencent Cloud Developer
Tencent Cloud Developer
Jan 5, 2021 · Frontend Development

Understanding the Build Process of Vue Single‑File Components (SFC) with Webpack

The article walks through Vue’s single‑file component build pipeline with Webpack 4, detailing how vue‑loader parses .vue files into template, script, and style blocks, uses VueLoaderPlugin and pitch loaders to generate virtual modules, and ultimately bundles them via inline loader syntax.

FrontendSingle File ComponentVue
0 likes · 12 min read
Understanding the Build Process of Vue Single‑File Components (SFC) with Webpack