Skip to content

Releases: hao123-fe/her

v0.1.5

14 Nov 09:34
Compare
Choose a tag to compare
Merge pull request #38 from hao123-fe/dev

fix css inline and release v0.1.5

v0.1.4

05 Jul 07:09
Compare
Choose a tag to compare

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:https://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

14 Jun 06:34
Compare
Choose a tag to compare
update package info and release v0.1.3

0.0.8 Release

15 Jan 03:10
Compare
Choose a tag to compare
update version for release

0.0.7 Release

14 Jan 07:22
Compare
Choose a tag to compare
Update README.md

0.0.5 Release

14 Jan 07:27
Compare
Choose a tag to compare
v0.0.5

change version for npm release,change deps version