From d8dbce2fd77b403fe2437832f1f6765092335576 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 29 May 2023 11:03:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(vue)=20enable=20defineModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + iles.config.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/components.d.ts b/components.d.ts index d988117..dc643be 100644 --- a/components.d.ts +++ b/components.d.ts @@ -14,6 +14,7 @@ declare module '@vue/runtime-core' { CrcProject: typeof import('./src/components/architecture/crc-project.vue')['default'] ForgettingCurve: typeof import('./src/components/smart-notes/forgetting-curve.vue')['default'] FormInput: typeof import('./src/components/design-system/form/FormInput.vue')['default'] + Island: typeof import('./node_modules/.pnpm/iles@0.9.5_rollup@2.79.1_sass@1.62.1/node_modules/iles/dist/client/app/components/Island.vue')['default'] JulienCalixte: typeof import('./src/components/core/julien-calixte.vue')['default'] MyProjects: typeof import('./src/components/presentation/my-projects.vue')['default'] OrderTag: typeof import('./src/components/core/order-tag.vue')['default'] diff --git a/iles.config.ts b/iles.config.ts index 97a004b..94167a3 100644 --- a/iles.config.ts +++ b/iles.config.ts @@ -4,6 +4,11 @@ import pwa from "@islands/pwa" export default defineConfig({ siteUrl: "https://juliencalixte.eu", + vue: { + script: { + defineModel: true, + }, + }, modules: [ "@islands/headings", prism(),