forked from zf-huangxiao/react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
22 lines (20 loc) · 728 Bytes
/
index.js
File metadata and controls
22 lines (20 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import './app/lib/common.css';
import React from 'react';
import ReactDOM from 'react-dom';
import Search from './app/components/search';
import Header from './app/components/header';
import Otherapp from './app/components/otherapp';
import Spike from './app/components/spike';
import More from './app/components/more';
import Like from './app/components/like';
ReactDOM.render(
<div>
<Search />
<Header source="http://localhost:3000/data/swiper" />
<Otherapp source="http://localhost:3000/data/otherapp" />
<Spike source="http://localhost:3000/data/spike" />
<More source="http://localhost:3000/data/more" />
<Like source="http://localhost:3000/data/like" />
</div>,
document.querySelector("#myApp")
);