updated showings to use typescript and composition api

This commit is contained in:
Edward Tirado Jr 2025-04-18 18:47:57 -05:00
parent 4cfaf31ea5
commit 2e55f9a3a3
3 changed files with 97 additions and 61 deletions

View file

@ -32,6 +32,7 @@ const movies = defineModel<Movie[]>("movie_list", { default: [] });
const showModal = (movie: Movie) => {
emit("show-modal", movie);
};
const findMovies = async function (e: Event) {
let config = useRuntimeConfig();
e.preventDefault();