Git Product home page Git Product logo

bat-ria-tool's Introduction

bat-ria-tool

bat-ria-tool's People

Contributors

chestnutchen avatar jeffersondyj avatar justineo avatar leeight avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bat-ria-tool's Issues

page 功能优化

edp create api page 时应该生成一个 .tpl.html 文件,然后 handler 模块读取这个模块通过模板引擎渲染后再返回 HTML 内容。

自动编译 CSS 的问题

之前好几个项目都是打包后或者用了一些奇怪的方法去联调的,感觉不是很方便。

联调时,后端希望做到这几点:

  1. 直接 svn co 到本地环境,不需要打包;
  2. 不需要安装 edp;
  3. 直接访问 src 下的 HTML 文件,进行联调。

这就需要我们做到:

  1. HTML 中的 <link> 标签直接指向 .css 文件而非 .less 文件(否则会依赖 edp);
  2. src 目录中需要包含对应的 .css 文件,提交代码前总是要进行 lessc,保证最新;
  3. 调试时即使存在 .css 文件,edp webserver 也需要优先检查是否有同名的 .less 文件,如果有,则总是进行编译输出。

目前 edp-webserver 的 autocss 中如果找到 .css 文件就不编译了,不符合预期。在这个扩展里做一堆编译工作其实是重复的逻辑,而且因为不方便再引入 edp-webserver 模块,所以还是在 edp-webserver 的 autocss 中加个选项优先进行编译感觉更妥当一些。

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.