You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/public/react-mobile7/src/index.js

31 lines
640 B

6 years ago
// Import React and ReactDOM
import React from 'react';
import ReactDOM from 'react-dom';
// Import Framework7
import Framework7 from 'framework7/framework7.esm.bundle';
// Import Framework7-React plugin
import Framework7React from 'framework7-react';
// Import main App component
import App from './components/App.jsx';
// Framework7 styles
import 'framework7/css/framework7.min.css';
// Icons
import './css/icons.css';
// Custom app styles
import './css/app.css';
// Init Framework7-React plugin
Framework7.use(Framework7React);
// Mount React App
ReactDOM.render(
React.createElement(App),
document.getElementById('app'),
);