Integrating UI Libraries and Build Tools in Vue Applications
Element Plus and Vant are two popular UI component libraries for Vue.js applications, each offering distinct design philosophies and component sets. To install Element UI:
npm install element-ui --save
Then register it globally in your main Vue instnace:
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-ch ...
Posted on Sat, 03 Oct 2026 16:46:40 +0000 by amitvedak
Understanding AST for Code Transformation
Exploring Abstract Syntax Tree (AST) manipulation to understand how obfuscation tools work.
The first step involves parsing JavaScript code into an AST structure:
let a,b=1;
// 注释
var obj = {
"name":1+3*2,
"func":function add(a,b){
let a1=3;
return a+b
}
}
function add(a,v){
return a+v;
}
let ...
Posted on Fri, 17 Jul 2026 17:16:36 +0000 by chrispols
AI-Assisted Jest Setup and Unit Test Generation for React Hooks
Motivation for AI-Powered Unit Testing
The decision to implement unit testing stems from maintaining shared frontend modules—including utility functions, React components, and custom hooks—across a growing development team. As the codebase scales, automated testing becomes essential for stability. Leveraging AI accelerates this process by reduc ...
Posted on Wed, 10 Jun 2026 18:25:18 +0000 by patrick99e99
Rollup: A Lightweight Bundler for JavaScript Libraries
Rollup is a modern JavaScript module bundler designed with a primary focus on creating optimized libraries and applications. Its core strength lies in its ability to produce clean, efficient code by eliminating unused parts through a process called tree-shaking. This makes it an excellent choice for developers building SDKs, libraries, or any p ...
Posted on Wed, 10 Jun 2026 16:55:44 +0000 by ahzulfi