luozt

Results 7 comments of luozt

@xufei 已经说得很清楚了,angular1是不能动态加载组件的 @nighca 比如: ``` html 加载中... testValue: {{testValue}} ``` 指令hello的属性值这样传进去就报错了。所以这时只能通过事件广播的方式对指令进行更新,非常不方便

现在可以安装 husky , lint-staged, prettier 插件,在git commit时对代码进行格式化或者其他操作,lint-staged可以只针对提交的文件进行处理,实在是太好用和方便了!

@alannesta 需要本地把项目用fis3先release出来再发布到heroku上吗?因为heroku上没有fis3。。而且fis3是要全局安装的

@xiangshouding 啊,可否明示下?毕竟fis官方文档也是直接写着:`npm install -g fis3`。另外,我的程序,发布到heroku上,要部署运行必须运行俩个命令:1. 系统发布: `fis3 release production`,2.系统运行: `npm start`。heroku默认会帮你执行npm start的命令,但fis3那个命令就不知怎么让它执行先??(噢,我知道了,使用`npm run build`可以使用本地安装的fis3)

@xiangshouding @2betop 我在使用`fis3-hook-relative`插件也遇到 @JMingZI 一样的问题,我的项目在本地打相对路径的包时也是报:`[ERROR] Cannot read property 'dirname' of undefined`。但在开发`fis3 release -w` 和 打绝对路径的包`fis release production`都没问题。 求解决方案~~

@2betop 可以看我的这个项目:[react admin ctrl](https://github.com/luozt/react-admin-ctrl),我现在只能用绝对路径打包,用`hook(relative)`就报错。。

的确是可以了!貌似我促进了fis的发展,哈哈。虽然说官方推荐用绝对路径,但用相对路径打包,对于同一份代码需要在不同环境运行的这种情况还是比较方便的