Javascript 安装react redux后,reactstrap不工作
我已经创建了一个React Aap,我在其中使用了Reactstrap,它工作得很好,直到我安装了redux和apter making AppRouter和store等,当我启动应用程序时,所有Reactstrap的东西都消失了,例如我放置了jumbotron所有这些东西都不工作。 我无法用代码解释,所以我正在共享我的存储库链接。你能检查一下“react应用程序”并告诉我该怎么做吗。谢谢Javascript 安装react redux后,reactstrap不工作,javascript,reactjs,react-redux,reactstrap,Javascript,Reactjs,React Redux,Reactstrap,我已经创建了一个React Aap,我在其中使用了Reactstrap,它工作得很好,直到我安装了redux和apter making AppRouter和store等,当我启动应用程序时,所有Reactstrap的东西都消失了,例如我放置了jumbotron所有这些东西都不工作。 我无法用代码解释,所以我正在共享我的存储库链接。你能检查一下“react应用程序”并告诉我该怎么做吗。谢谢 import React, { useEffect } from 'react'; import {
import React, { useEffect } from 'react';
import { Jumbotron, Button, Container } from 'reactstrap';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
const Home = () => {
useEffect(()=>{
document.title= "Home"
},[])
const notify = () => toast.success("You Have Started the APP!");
return (
<div>
<Jumbotron className= "text-center bg-primary" >
<h1 >Wellcome!</h1>
<p className="lead">This is a simple hero unit, a simple Jumbotron-style component for calling extra attention to featured content or information.</p>
<hr className="my-2" />
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
<p className="lead">
<Container>
<Button onClick={notify} out color="warning text-white" size="lg" block outline>Start App</Button>
<ToastContainer />
</Container>
</p>
</Jumbotron>
</div>
);
};
export default Home;
import React,{useffect}来自“React”;
从“reactstrap”导入{Jumbotron,Button,Container};
从'react toastify'导入{ToastContainer,toast};
导入“react-toastify/dist/react-toastify.css”;
常量Home=()=>{
useffect(()=>{
document.title=“主页”
},[])
constnotify=()=>toast.success(“您已经启动了应用程序!”);
返回(
好极了!
这是一个简单的英雄单元,一个简单的Jumbotron风格的组件,用于唤起对特色内容或信息的额外关注
启动应用程序
);
};
导出默认主页;
git@github.com:jzebgul/jzeb projects.git您可以在沙箱中提供代码来检查您的问题吗?我不认为这是因为redux。