为什么在reactjs webapp中没有显示任何内容
我正在用reactjs构建一个webapp,这是我的第一个项目,我已经修复了所有问题,但仍然是文本和背景图像,不显示在前端,只显示页脚 这是一个截图 它的页脚截图为什么在reactjs webapp中没有显示任何内容,reactjs,Reactjs,我正在用reactjs构建一个webapp,这是我的第一个项目,我已经修复了所有问题,但仍然是文本和背景图像,不显示在前端,只显示页脚 这是一个截图 它的页脚截图 import React, { Component } from 'react'; import './App.css'; import About from './components/about'; import Blog from './components/blog'; import Contact from './compo
import React, { Component } from 'react';
import './App.css';
import About from './components/about';
import Blog from './components/blog';
import Contact from './components/contact';
import Footer from './components/footer';
import Menus from './components/menus';
import Projects from './components/projects';
import Reasearch from './components/reasearch';
import Services from './components/services';
import Testimonials from './components/testimonials';
import Welcome from './components/welcome'
class App extends Component {
render() {
return (
<div id="colorlib-page">
<div id="container-wrap">
<Menus></Menus>
<Welcome></Welcome>
<Welcome></Welcome>
<Services></Services>
<Reasearch></Reasearch>
<Projects></Projects>
<About></About>
<Testimonials></Testimonials>
<Blog></Blog>
<Contact></Contact>
<Footer></Footer>
</div>
</div>
);
}
}
export default App;
import React,{Component}来自'React';
导入“/App.css”;
从“./components/About”导入关于;
从“./components/Blog”导入日志;
从“./components/Contact”导入联系人;
从“./components/Footer”导入页脚;
从“./组件/菜单”导入菜单;
从“./组件/项目”导入项目;
从“./components/Reasearch”导入重新搜索;
从“./组件/服务”导入服务;
从“./components/Estimations”导入证明文件;
从“./components/Welcome”导入欢迎
类应用程序扩展组件{
render(){
返回(
);
}
}
导出默认应用程序;
您是否检查了其他组件是否返回了某些内容?你可以只使用渲染组件。你可以分享App.js吗file@Shivaraj是的,它渲染所有内容,但不显示需要更多信息。您是否收到任何错误、警告?@RonakKhangaonkar我问题中的代码是app.js代码