Introduced new code display

This commit is contained in:
Cagatay Civici 2023-10-15 09:00:52 +03:00
parent cd004e9c53
commit 0a416e0545
12 changed files with 109 additions and 83 deletions

View file

@ -29,7 +29,8 @@ export default {
<div v-for="category of categories" :key="category.key" class="flex align-items-center">
<Checkbox v-model="selectedCategories" :inputId="category.key" name="category" :value="category.name" />
<label :for="category.key">{{ category.name }}</label>
</div>`,
</div>
`,
options: `
<template>
<div class="card flex justify-content-center">
@ -56,7 +57,8 @@ export default {
};
}
};
<\/script>`,
<\/script>
`,
composition: `
<template>
<div class="card flex justify-content-center">
@ -79,7 +81,8 @@ const categories = ref([
{name: "Research", key: "R"}
]);
const selectedCategories = ref(['Marketing']);
<\/script>`
<\/script>
`
}
};
}