+
Gagal memuat template. Silakan coba lagi.
+
-
-
![]()
-
{{ tpl.nama }}
-
Rp {{ tpl.harga }}
+
+
+
+
![]()
+
+
+
{{ tpl.nama }}
+
+
+ Rp {{ tpl.harga.toLocaleString('id-ID') }}
+
+
+
+
+ {{ tpl.fitur.deskripsi }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Belum ada template untuk kategori ini.
+
+const { data: templates, pending: isLoading, error } = useFetch(
+ () => `/api/templates/category/${props.id_category}`,
+ {
+ baseURL: 'http://localhost:8000',
+ key: () => `templates-${props.id_category}`,
+ transform: (response) => {
+ if (!response || !Array.isArray(response)) return [];
+ return response;
+ }
+ }
+);
+
\ No newline at end of file
diff --git a/proyek-frontend/app/pages/template.vue b/proyek-frontend/app/pages/template.vue
index cad6a85..de0bd58 100644
--- a/proyek-frontend/app/pages/template.vue
+++ b/proyek-frontend/app/pages/template.vue
@@ -1,27 +1,33 @@
-