correction de l'affichage des composants riot
This commit is contained in:
@@ -15,6 +15,14 @@
|
||||
<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