chore: switch away from reactivity transform

also use a released version of nuxt
This commit is contained in:
eggy
2023-01-28 15:32:48 -05:00
parent a7f38e77ae
commit 577e00a870
8 changed files with 1069 additions and 1784 deletions

View File

@@ -1,12 +1,14 @@
<script setup lang="ts">
import type { Project } from "@/data/projects";
import { unref as _unref } from "vue";
const { project, reverse = false } = defineProps<{
const props = defineProps<{
project: Project;
reverse?: boolean;
}>();
const imgUrl = project.img ? `url(/images/projects/${project.img})` : "none";
const imgUrl = props.project.img
? `url(/images/projects/${props.project.img})`
: "none";
</script>
<template>