Open Yahasana opened 6 years ago
@mruz please review the new features i just add to comment. i'll trying to implement it soon if you agree with that. and after that i think Ice is ready for new release and good for deploying to production
@mruz review plz
Assets loading with themes and skins supported. assume that different apps (or plugins) are independent with each others but share the same basic modules and public resources
A) asset cases: there are stylesheet files in public
css
share by all apps and app specific stylesheet locate in its directory. e.g.B) loading source and target
public/css/style.css
topublic/min/css/style.min.css
account/default/css/account.css
topublic/min/css/account.min.css
public/default/css/account.css
not exists, copyaccount/default/css/account.css
topublic/default/css/
account/default/css/account.css
topublic/default/css/
C) implement
1) if
uri
is start with/
, it'll try to load asset from document root2) always store the min files in the document_root/target dir
ONE MORE THING
type
parameter change fromtext/css
ortext/javascript
tocss
orjs
but not