Use the viet-plugin-svG-icons plug-in to install dependencies in viet.config.js using the plug-in introduced in main.js to create svgicon.vue components used in global use components
Background We have a project built with UMI that has been iteratively adding functions, and the project has introduced more and more third-party libraries. The...
1. Vite is a front-end building tool for Web development driven by native ES Module. Extreme service startup; Light weight fast thermal overload; Rich functionality;...
This article mainly introduces how to quickly start to create their own projects; Also, what does NPM init vite@latest do? If you're interested in what...
Foreword WebPack has dominated the front-end packaging world for some time, and new projects are packaged with WebPack except for older projects. However, The Times...
The current engineering pain point until the browser supports ES Module, JavaScript does not provide a native mechanism for developers to develop in a modular...
Background The evolution of front-end engineering is not independent, but closely related to and growing up with other front-end fields. The following will first introduce...
The main processing logic for vite prebuild is summed up in finding dependencies that need to be prebuilt, building those dependencies as entryPoints, and updating...
Preface Hello everyone, I am WebFansplz. These two days liver a Vite plug-in, this article mainly with you to share its function and implementation ideas.