Code Monkey home page Code Monkey logo

uba-server's People

Contributors

boyuzhou avatar kvkens avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

emmyexy

uba-server's Issues

端口冲突问题

某些时候,启动服务后,在gitbash使用ctrl+c停止当前服务时,并没有停止express服务,造成端口冲突,无法再次启动,还需要去任务管理关闭node服务。
解决建议,一个是ctrl+c后停止服务,另一个可以在服务内部进行处理,如果端口占用,启用相邻端口。

uba5.0版本计划

  • 核心webpack采用最新的版本(webpack4)
  • 周边插件全部替换升级兼容版本
  • 优化构建的合理性、性能、以及常规化的配置
  • 配置文件不再像uba@4版本那样完全封装,添加babelrc可配置文件,可以开启自定义、默认配置执行

端口占用问题和远程访问问题

本地3000端口已经被占用,启动服务已经自动换成3001了,但是打开浏览器还是127.0.0.1:3000,得手动改成3001才能访问,还有,能否参照create-react-app,既可以访问localhost,也可以通过ip访问,方便其他人调试本地代码,谢谢

v4.0.0计划

  1. 高度封装webpack和相关使用插件,无需在项目里引用过多依赖包,防止用户误操作升级关键包导致编译出错不兼容,全部集成在uba4.0.0,使用只要引用uba@4版本就好,针对脚手架工程集成一般常用(类似create-react-app生成脚手架下的react-scripts)

  2. 使用最新webpack4作为核心封装以及webpack-dev-middleware,发挥出webpack4特长优点

  3. 尽可量减少配置文件,和webpack4的**一致,零配置文件,尽量减少无关配置,如要新增Loader和Plugin应给出配置节点和内部做merge

  4. 内置的功能拆分出独立插件,想使用哪个安装哪个,不使用就卸载,对应插件的配置文件单独提出来,不在和uba.config.js混合在里面,单独创建插件配置.ubarc文件出来,也保证uba-gui的配置可视化去使用

  5. uba4.0版本配合uba-gui进行开发调整

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.