@prismora/vue
v0.2.0
Published
Vue 3 wrappers for Prismora web components (generated). v-model on form controls.
Maintainers
Readme
@prismora/vue
Vue 3 components for Prismora, with v-model support and typed props.
npm install @prismora/vue @prismora/css// vite.config.ts: tell Vue that pm-* tags are custom elements
vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('pm-') } } });<script setup lang="ts">
import { Button, Input } from '@prismora/vue';
const name = ref('');
</script>
<template><Input v-model="name" label="Name" /><Button variant="solid">Save</Button></template>Documentation: prismora.design/docs/frameworks · Part of Prismora, one seed, every theme. MIT licence.
