Releases: hao123-fe/her
Releases · hao123-fe/her
v0.1.5
v0.1.4
Install
sudo npm install -g her
Features
1. Sopport layout CSS inline
Requirement
her-runtime >= 0.0.2 https://github.com/hao123-fe/her-runtime/releases/tag/0.0.2
Usage
1. add ?__inline
surfix to the pack you want to inline
fis.config.merge({
pack : {
'static/pkg/aio.css?__inline' : [
'static/lib/css/bootstrap.css',
'static/lib/css/bootstrap-responsive.css',
'widget/**.css'
],
'static/pkg/aio.js' : [
'static/lib/js/jquery-1.10.1.js',
'widget/**.js'
]
}
});
2. Config her-runtime via her-config
attr of {html}
tag
{html her="path/to/main.js" her-config=['inlineCSS' => true]}
2. Fix tpl inline bug
Now you can inline tpl via, see http://fex.baidu.com/fis-site/docs/more/fis-standard-inline.html for more
<link rel="import" href="tpl/to/be/inline.tpl?__inline">
0.1.3 Release
update package info and release v0.1.3
0.0.8 Release
update version for release
0.0.7 Release
Update README.md
0.0.5 Release
v0.0.5 change version for npm release,change deps version