ecomfe / bat-ria-tool Goto Github PK
View Code? Open in Web Editor NEWTool modules for edpx-bat-ria and edp-webserver.
Tool modules for edpx-bat-ria and edp-webserver.
之前好几个项目都是打包后或者用了一些奇怪的方法去联调的,感觉不是很方便。
联调时,后端希望做到这几点:
svn co
到本地环境,不需要打包;src
下的 HTML 文件,进行联调。这就需要我们做到:
<link>
标签直接指向 .css
文件而非 .less
文件(否则会依赖 edp);src
目录中需要包含对应的 .css
文件,提交代码前总是要进行 lessc
,保证最新;.css
文件,edp webserver 也需要优先检查是否有同名的 .less
文件,如果有,则总是进行编译输出。目前 edp-webserver 的 autocss
中如果找到 .css
文件就不编译了,不符合预期。在这个扩展里做一堆编译工作其实是重复的逻辑,而且因为不方便再引入 edp-webserver 模块,所以还是在 edp-webserver 的 autocss
中加个选项优先进行编译感觉更妥当一些。
edp create api page
时应该生成一个 .tpl.html
文件,然后 handler 模块读取这个模块通过模板引擎渲染后再返回 HTML 内容。
如题
如题,在使用mockup.iframeScript iframeCallback的时候输出的是json编码后的html
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.