Skip to content
Snippets Groups Projects
Commit 32b01884 authored by Gustavo Hornig's avatar Gustavo Hornig
Browse files

Add stuff

parent 5f9791cc
No related branches found
No related tags found
1 merge request!2Create category page
......@@ -5,6 +5,8 @@
"dependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-materialize": "^2.2.1",
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.4"
},
"scripts": {
......@@ -13,4 +15,4 @@
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
\ No newline at end of file
}
......@@ -3,6 +3,7 @@ import { BrowserRouter as Router, Route } from 'react-router-dom'
import './App.css';
import MainPage from './Pages/MainPage'
import Login from './Pages/Login'
import Teste from './Pages/Teste'
class App extends Component {
render() {
......@@ -11,6 +12,7 @@ class App extends Component {
<div>
<Route exact={true} path="/" component={MainPage}/>
<Route exact={true} path="/login" component={Login}/>
<Route exact={true} path="/teste" component={Teste}/>
</div>
</Router>
);
......
import React, { Component } from 'react';
class Teste extends Component {
render (){
return (
<div>
Teste
</div>
)
}
}
export default Teste;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment