primevue-mirror/doc/cdn/ComponentDoc.vue

21 lines
440 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>
2024-01-30 08:16:35 +00:00
<DocSectionCode :code="code" hideToggleCode hideStackBlitz />
2024-01-23 20:21:13 +00:00
</template>
<script>
export default {
data() {
return {
code: {
basic: `
2024-04-18 14:22:30 +00:00
<script src="https://unpkg.com/primevue/datepicker/datepicker.min.js"><\/script>
2024-01-23 20:21:13 +00:00
`
}
};
}
};
</script>