@wenbo/fis3-postpackager-loader
v1.0.0
Published
resouce loader
Downloads
4
Readme
**增加data-components参数用来标识组件引入的外部js ####例如:
<!--@require floatNav.scss-->
<script type="text/javascript" data-components src="http://ptres.37.com/js/sq/widget/sq.scrollto.js"></script>
<div id="floatNav" class="floatNav">
<div data-scrollto="720" class="nav-item nav-item1"></div>
<div data-scrollto="1353" class="nav-item nav-item2"></div>
<div data-scrollto="0" class="nav-item nav-item3 nav_back"></div>
</div>