tinper-uba / uba-server Goto Github PK
View Code? Open in Web Editor NEWuba webpack middleware dev server
License: MIT License
uba webpack middleware dev server
License: MIT License
webpack3.11.0
最新版本某些时候,启动服务后,在gitbash使用ctrl+c停止当前服务时,并没有停止express服务,造成端口冲突,无法再次启动,还需要去任务管理关闭node服务。
解决建议,一个是ctrl+c后停止服务,另一个可以在服务内部进行处理,如果端口占用,启用相邻端口。
babelrc
可配置文件,可以开启自定义、默认配置执行本地3000端口已经被占用,启动服务已经自动换成3001了,但是打开浏览器还是127.0.0.1:3000,得手动改成3001才能访问,还有,能否参照create-react-app,既可以访问localhost,也可以通过ip访问,方便其他人调试本地代码,谢谢
高度封装webpack和相关使用插件,无需在项目里引用过多依赖包,防止用户误操作升级关键包导致编译出错不兼容,全部集成在uba4.0.0,使用只要引用uba@4版本就好,针对脚手架工程集成一般常用(类似create-react-app生成脚手架下的react-scripts)
使用最新webpack4作为核心封装以及webpack-dev-middleware,发挥出webpack4特长优点
尽可量减少配置文件,和webpack4的**一致,零配置文件,尽量减少无关配置,如要新增Loader和Plugin应给出配置节点和内部做merge
内置的功能拆分出独立插件,想使用哪个安装哪个,不使用就卸载,对应插件的配置文件单独提出来,不在和uba.config.js混合在里面,单独创建插件配置.ubarc文件出来,也保证uba-gui的配置可视化去使用
uba4.0版本配合uba-gui进行开发调整
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.