comment on importe des modules dans le .riot ;-;

This commit is contained in:
2023-03-25 16:31:36 +01:00
parent e7654dc675
commit 1ef73b1a2f
5 changed files with 144 additions and 1 deletions

View File

@@ -5,10 +5,18 @@
<title>Parcoursup</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="parcoursup.css">
<script src="parcoursup.riot" type="riot"></script>
<script src="search.riot" type="riot"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/riot/7.1.0/riot+compiler.min.js" integrity="sha512-sSGKGR9MvL0bUx3CScaBb56crXwspwDkL/JnB0IrLFQfw3uvSUlITQtsTtDZctshhv5wdwIt+qZeN8zThRF4Dw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<search></search>
<script>
riot.compile().then(() => {
riot.mount('search', {
formation:'Formation'
})
})
</script>
</body>
</html>