wibetter / akfun Goto Github PK
View Code? Open in Web Editor NEW前端脚手架:支持Vue技术栈和react技术栈
前端脚手架:支持Vue技术栈和react技术栈
需要开发一个rollup插件,将公用的scss文件注入到每一个scss文件中。
可使用esbuild-loader:https://github.com/privatenumber/esbuild-loader 。
目前webpack还不支持构建输出esm模块,akfun可使用rollup专用于lib库的构建。
用处:方便用户知道当前项目有哪些可访问的页面。
编译后的文件头部增加构建信息:
备注:开发者和版本信息从当前构建项目中package.json中获取。
将构建项目中对应的开发者和注入到输出文件头部
我在使用时,出现了这么一个异常:
后续发现,原因在于 vue-template-compiler,它的 package.json 中,是这样的:
因为 vue-template-compiler 只限于在 Vue2 中使用,而我的其他包中使用到了 Vue3,这导致依赖在上升到同一层的情况下,产生了这么个错误。
以各类项目模板列表形式展示给用户,点击选择即可使用其中的项目模板。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.