我的滑块不工作并且没有显示错误,所有图像都显示在页面上

时间:2018-05-22 14:20:21

标签: reactjs

从'react'导入React; 从'react-dom'中导入ReactDom;

export class Home扩展了React.Component {     render(){         回来(                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       以前                                                                                                                            下一个                                                                                            

        </div>
    );
}

} export default;

2 个答案:

答案 0 :(得分:0)

我可以确定的一件事是你要两次导出组件:

这里:

export class Home extends React.Component {

在这里:

export default Home;

选择一种方式。

答案 1 :(得分:0)

问题是我没有使用Bootstrap最新版本4.1而且我使用它,问题解决了但4.1版本有很多问题而且在bootstrap中不支持gylphicons请给我任何解决方案。