fis-plus icon indicating copy to clipboard operation
fis-plus copied to clipboard

百度基于FIS的前端集成解决方案,可能是史上最强大的前端集成解决方案

Results 57 fis-plus issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/29548669/33663521-46b37632-dacb-11e7-87dc-85a7f779580b.png)

我按照这个使用教程:http://oak.baidu.com/fis-plus/document.html 一步一步走完的。 环境也搭建OK了,但是在fisp server start的时候报HTTP 500的错误。 请教一下各位大神如何解决? **【这是Node】** ![image](https://user-images.githubusercontent.com/8861289/36582886-35ed86e6-18ae-11e8-87e5-f06b85599f3f.png) **【这是Java】** ![image](https://user-images.githubusercontent.com/8861289/36582926-663cafa2-18ae-11e8-81cf-a48f5e4f0730.png) **【这是php-cgi】** ![image](https://user-images.githubusercontent.com/8861289/36582798-dc7f338e-18ad-11e8-8661-72fc0b277929.png) ![image](https://user-images.githubusercontent.com/8861289/36582950-7dc51a1a-18ae-11e8-9880-28b07444abbf.png) ![image](https://user-images.githubusercontent.com/8861289/36583008-ba186a76-18ae-11e8-9b8d-04f897b59d57.png) **【页面错误信息】** ![image](https://user-images.githubusercontent.com/8861289/36583027-ce84eed0-18ae-11e8-84de-83cd6dfd0512.png) ![image](https://user-images.githubusercontent.com/8861289/36583040-d9083fce-18ae-11e8-85d0-3e44d3372baa.png)

[ERROR] fis-server fails to start at port [8080], error: timeout java -- v1.7.0 php-cgi -- v5.3.5 ![image](https://cloud.githubusercontent.com/assets/6930965/8538374/f37889a2-249d-11e5-8783-db9b5620a3b4.png) ![image](https://cloud.githubusercontent.com/assets/6930965/8538377/fe31fb1c-249d-11e5-8869-48e3ff890b86.png) 改了端口,延长了时间,还是报错

fis-plus 首页 “目录规范” 指向404,麻烦更新下。 ![image](https://user-images.githubusercontent.com/14333077/34479111-b1a3e638-efdf-11e7-9f77-438c284ea35f.png)

本地调试的时候,在test文件夹下写json文件数据。 渲染的时候默认找的是php文件数据,需要手动打开调试书签选择json数据render,有没有办法强制指定是json。

` fis.match('/config/(**.*)', { // 产出重命名config和plugin文件夹 release: '/wendamis-config/$1' }).match('/plugin/(**.*)', { release: '/wendamis-plugin/$1' }).match('BCLOUD', { release: '$0' }).match('${namespace}-map.json', { release: '/wendamis-config/$0' }); `

压缩后的js,css代码往往很长一个字符串,如果碰巧这个文件被inline到了tpl中,这个过长的字符串就会导致smarty解析出错。 **这个问题该如何解决呢?** 解决方法:配置js&css压缩器,修改js&css压缩策略,避免出现过长字符。 ``` javascript fis.config.set("settings.optimizer.uglify-js", { output : { max_line_len : 500 } }); fis.config.set("settings.optimizer.clean-css", { keepBreaks : true }); ``` 如果是tpl本身字符串过长导致报错呢? 解决方法: 在过长的字符串中人工加入一个smarty注释就可以啦。 例如: ``` html blablablabla {*fix-smarty*}...

faq