-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
|
||
|
||
|
||
|
||
import routes from "./routes/index.js"; | ||
import routes from "./routes/index.js"; //pega o valor retornado do gereneciador de rotas | ||
import {BuildComponent} from "./node_modules/rozaura/index.js" | ||
//função chamda dentro da index.js, retorna component | ||
export default function(){ | ||
return routes() | ||
return routes() //retorna o valor do gerenciador de rotas | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
|
||
|
||
import Rosaura from "rozaura"; | ||
import app from "./app.js"; | ||
import Rosaura from "./node_modules/rozaura/index.js"; //Rosaura é o objecto geral que gerencia o framework | ||
import app from "./app.js"; //app é a função que rotorna o componente a ser mostrado no root element | ||
|
||
//função principal a ser chamada | ||
//usa a função que referencia o root elemente, e atribui o elemento dentro | ||
const main =function(){ | ||
Rosaura.BuildRootComponent(app()) | ||
Rosaura.BuildRootComponent(app()) //Instancia o root | ||
} | ||
main() | ||
main() //chamada damain | ||
|
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.