primevue-mirror/doc/cdn/ComponentDoc.vue

21 lines
452 B
Vue
Raw Normal View History

2024-01-23 20:21:13 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>Include the component to use with a script tag.</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode hideCodeSandbox hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
<script src="https://unpkg.com/primevue/calendar/calendar.min.js"><\/script>
`
}
};
}
};
</script>