maj 3
This commit is contained in:
+11
-4
@@ -6,16 +6,23 @@
|
||||
<title>Parcoursup Riot</title>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/riot@9/riot+compiler.min.js"></script>
|
||||
<script type="module">
|
||||
import "./api.js"
|
||||
import "./formation.js"
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<app></app>
|
||||
|
||||
<script src="./components/search-bar.riot" type="riot"></script>
|
||||
<script src="./components/result-list.riot" type="riot"></script>
|
||||
<script src="./components/detail-view.riot" type="riot"></script>
|
||||
<script src="./app.riot" type="riot"></script>
|
||||
|
||||
<script type="module">
|
||||
import { fetchFormations } from './api.js'
|
||||
import { createFormation } from './formation.js'
|
||||
|
||||
window.fetchFormations = fetchFormations
|
||||
window.createFormation = createFormation
|
||||
</script>
|
||||
|
||||
<script>
|
||||
riot.compile().then(() => {
|
||||
riot.mount('app')
|
||||
|
||||
Reference in New Issue
Block a user