-
Notifications
You must be signed in to change notification settings - Fork 0
/
entry.js
47 lines (26 loc) · 1.18 KB
/
entry.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
window.reactComponents = {};
window.vueComponents = {};
import React from "react";
import ReactDOM from "react-dom";
import ReactWrapper from '../node_modules/better-docs/lib/react-wrapper.js';
window.React = React;
window.ReactDOM = ReactDOM;
window.ReactWrapper = ReactWrapper;
import './styles/reset.css';
import './styles/iframe.css';
import Component0 from '../src/App.js';
reactComponents['App'] = Component0;
import Component1 from '../src/Components/Footer/Footer.js';
reactComponents['Footer'] = Component1;
import Component2 from '../src/Components/Header/Header.js';
reactComponents['Header'] = Component2;
import Component3 from '../src/Components/Login/Login.js';
reactComponents['Login'] = Component3;
import Component4 from '../src/Containers/Main/Main.js';
reactComponents['Main'] = Component4;
import Component5 from '../src/Components/Layout/Layout.js';
reactComponents['MainLayout'] = Component5;
import Component6 from '../src/Components/Selector/Selector.js';
reactComponents['Selector'] = Component6;
import Component7 from '../src/Components/TextArea/TextArea.js';
reactComponents['TextArea'] = Component7;