I'm yanhaijing, I built jsmini
《现代JavaScript库开发:原理、技术与实战》
《React状态管理与同构实战》
yanhaijing / fis3-base Goto Github PK
View Code? Open in Web Editor NEW基于fis3的纯前端解决方案,拿来即用的fis3脚手架
License: MIT License
基于fis3的纯前端解决方案,拿来即用的fis3脚手架
License: MIT License
看了下您的脚手架好像没有支持es6语法啊,请问下怎么支持啊
不想部署到CDN上,config中host为'',打包出来后是'//abc.jpg',如何配置host字段打出来的是'/abc.jpg'?thx~~~~
[ERROR] unable to load plugin [fis3-hook-commonjs] or [fis-hook-commonjs]
我确定是按照步骤全局安装了fis3,并且fis3 install了
安装了fis-postprocessor-autoprefixer,release依旧会报错: [ERROR] unable to load plugin [fis3-postprocessor-autoprefixer] or [fis-postprocessor-autoprefixer] in [/index.html]。
fis3版本:v3.3.29
node版本:v4.2.2
你好,我有个问题,我写的es6的代码,编译后了会require(babel-runtime),但是打包的时候没有一起打进去,怎么弄呢
es3ify 通过babel编译,并且使用es3ify
插件将ES3环境不支持的关键字等进行转换
babel-6.x 升级babel6
less-2.x 升级less2
现在应该是fis-parser-node-sass。
css配置需改为node-sass,作者更新下吧。
现在采用的 fis-components 对组件进行管理,但是组件库不全,加上更新繁琐且不够及时。是不是可以考虑支持 npm 对组件库进行管理,fis 也有对应的 node_modules ,可以很平滑过渡到这个方案。
需求场景示例,FIS 纯前端项目,不使用前端模板,通过inline共用同样的头部区块,但希望构建后动态替换里面的各个页面title等
按照步骤走的,把scss编译改成了node-sass插件,最终使用-wL监听文件更改时报错,错误显示为
/c/Users/Administrator/AppData/Roaming/npm/fis3: line 14: 3400 Segmentation fault node "$basedir/node_modules/fis3/bin/fis.js" "$@"
我使用自己的fis3配置文件同样执行了一遍,并没有问题
node版本6.2.2
win7系统
是什么情况呢?刚接触,有点摸不着头脑。
才接触fis,整体感觉挺好用的!
之前用gulp,scss文件编译打包后有sourcemaps插件可以在调试时看到代码在源文件的行数,不知道fis有木有对应的插件或者设置!
/static/css/index.css是取不到的吧,应该是./static/css/index.css才能获取到资源吧
环境:
node 4.3.2
npm -v 3.10.8
fis3 -v 3.4.24
ubuntu trusty
为什么还在用 babel 5.x,不是已经出6了吗?
如题,是不是可以考虑增加一些 mod.js 的特殊用法,以及异步产出文件的例外打包。这样可能会让这个脚手架被更多的普及使用。谢谢
配置里好像没有写 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.