mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Docs typing updates
This commit is contained in:
parent
ca65d7dfdb
commit
cfc8136b25
739 changed files with 2027 additions and 3969 deletions
|
@ -14,16 +14,14 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
code1: {
|
||||
basic: `
|
||||
import {createApp} from 'vue';
|
||||
basic: `import {createApp} from 'vue';
|
||||
import DialogService from 'primevue/dialogservice';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(DialogService);`
|
||||
},
|
||||
code2: {
|
||||
basic: `
|
||||
import { useDialog } from 'primevue/usedialog';
|
||||
basic: `import { useDialog } from 'primevue/usedialog';
|
||||
|
||||
const dialog = useDialog();`,
|
||||
options: `const dialogRef = this.$dialog;`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue