Tagged articles
2 articles
Page 1 of 1
政采云技术
政采云技术
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.

Vuetemplate compilationvue-loader
0 likes · 16 min read
Detailed Explanation of Vue 2 Template Compilation Process
Baidu App Technology
Baidu App Technology
Jan 28, 2021 · Frontend Development

Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack

This article provides a deep technical walkthrough of san-loader, explaining how the Baidu‑developed San framework’s .san files are parsed, split into template, script and style sections, processed by san-loader‑plugin, and finally compiled into browser‑ready code with support for options like compileTemplate, esModule, and CSS Modules.

CSS Modulesfrontendloader
0 likes · 18 min read
Inside san-loader: How San Files Are Split, Compiled, and Integrated in Webpack