From 289e344a1b16d639b5606cc302c93335c6c2e527 Mon Sep 17 00:00:00 2001 From: Kevin Lewis Date: Mon, 16 Sep 2024 19:12:51 +0200 Subject: [PATCH] Layouts --- .../4.app-extensions/2.interfaces.md | 4 +- .../4.app-extensions/3.layouts.md | 114 ++++++++++++++++++ 2 files changed, 116 insertions(+), 2 deletions(-) diff --git a/content/10.extensions/4.app-extensions/2.interfaces.md b/content/10.extensions/4.app-extensions/2.interfaces.md index 03e1b9f1..6573d581 100644 --- a/content/10.extensions/4.app-extensions/2.interfaces.md +++ b/content/10.extensions/4.app-extensions/2.interfaces.md @@ -18,7 +18,7 @@ The `index.js` or `index.ts` file exports an object that is read by Directus. It ### Entrypoint Example -```jsx +```vue import InterfaceComponent from './interface.vue'; export default { @@ -71,7 +71,7 @@ The interface component is a Vue component that will be rendered in the Data Stu This example assumes there is an item in the entrypoint’s `options` array with a `field` value of `url`. -```jsx +```vue