Skip to content

Commit 8de6431

Browse files
Move ionic css imports to index page
1 parent d789b72 commit 8de6431

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/index.tsx

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
import React from 'react';
2-
import ReactDOM from 'react-dom';
3-
import './index.css';
4-
import App from './App';
5-
import * as serviceWorker from './serviceWorker';
1+
import React from "react";
2+
import ReactDOM from "react-dom";
3+
import "./index.css";
4+
// Ionic 4 styles
5+
import "@ionic/core/css/core.css";
6+
import "@ionic/core/css/ionic.bundle.css";
7+
import App from "./App";
8+
import * as serviceWorker from "./serviceWorker";
69

7-
ReactDOM.render(<App />, document.getElementById('root'));
10+
ReactDOM.render(<App />, document.getElementById("root"));
811

912
// If you want your app to work offline and load faster, you can change
1013
// unregister() to register() below. Note this comes with some pitfalls.

0 commit comments

Comments
 (0)