38 lines
978 B
HTML
38 lines
978 B
HTML
<!doctype html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Riot todo</title>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<script src="app.riot" type="riot"></script>
|
|
<script src="filters.riot" type="riot"></script>
|
|
<script src="movie.riot" type="riot"></script>
|
|
<script src="movie-container.riot" type="riot"></script>
|
|
<link rel="stylesheet" href="movie.css">
|
|
<script src="movie.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/riot@6.1.2/riot+compiler.min.js"></script>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
|
</head>
|
|
|
|
<body>
|
|
<app></app>
|
|
|
|
<script>
|
|
|
|
/* Compile and Mount riot tag */
|
|
(async () => {
|
|
await riot.compile()
|
|
movieUtils = getMovieUtils()
|
|
|
|
riot.install(function(component){
|
|
component.movieUtils = movieUtils
|
|
})
|
|
|
|
riot.mount('app')
|
|
|
|
})()
|
|
</script>
|
|
</body>
|
|
</html> |