在index.html中<%= require('html-loader!./') %>这是什么写法

<%= require('html-loader!./components/head.html') %>

<%= require('html-loader!./components/header.html') %>

<div class="index">

    <div id="carousel" data-carousel-3d>

        <img src="${require(`../images/index/0.png`)}" selected/>

        <img src="${require(`../images/index/1.png`)}"/>

        <img src="${require(`../images/index/2.png`)}"/>

        <img src="${require(`../images/index/3.png`)}"/>

        <img src="${require(`../images/index/4.png`)}"/>

        <img src="${require(`../images/index/0.png`)}"/>

        <img src="${require(`../images/index/1.png`)}"/>

        <img src="${require(`../images/index/2.png`)}"/>

        <img src="${require(`../images/index/3.png`)}"/>

        <img src="${require(`../images/index/4.png`)}"/>

    </div>

    <div class="light"></div>

</div>

<%= require('html-loader!./components/footer.html') %>


慕勒3428872
浏览 782回答 1
1回答

www说

大概率 jsp小概率 ejs你先说说后端啥语言呀
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript