add dependencies

pull/1143/head
Tuğçe Küçükoğlu 2021-03-25 12:05:20 +03:00
parent f8abb34c18
commit a7dd25f776
10 changed files with 21 additions and 11 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="BarChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}"/>
</template> </template>
<script> <script>

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="ComboChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}"/>
</template> </template>
<script> <script>

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="DoughnutChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}" />
</template> </template>
<script> <script>

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="LineChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}" />
</template> </template>
<script> <script>
@ -11,7 +11,7 @@ export default {
tabName: 'Source', tabName: 'Source',
content: ` content: `
<template> <template>
<div <div>
<div class="card"> <div class="card">
<h5>Basic</h5> <h5>Basic</h5>
<Chart type="line" :data="basicData" :options="basicOptions" /> <Chart type="line" :data="basicData" :options="basicOptions" />

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="PieChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}" />
</template> </template>
<script> <script>

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="PolarAreaChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}" />
</template> </template>
<script> <script>

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="RadarChartDemo" :sources="sources" /> <AppDoc name="ChartDemo" :sources="sources" :dependencies="{'chart.js': '2.7.3'}" />
</template> </template>
<script> <script>

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="EditorDemo" :sources="sources"> <AppDoc name="EditorDemo" :sources="sources" :dependencies="{'quill': '^1.3.7'}">
<h5>Import</h5> <h5>Import</h5>
<pre v-code.script><code> <pre v-code.script><code>
import Editor from 'primevue/editor'; import Editor from 'primevue/editor';

View File

@ -1,5 +1,5 @@
<template> <template>
<AppDoc name="FullCalendarDemo" :sources="sources" :service="['EventService']" :data="['events']"> <AppDoc name="FullCalendarDemo" :sources="sources" :service="['EventService']" :data="['events']" :dependencies="{'@fullcalendar/core': '5.4.0', '@fullcalendar/daygrid': '5.4.0', '@fullcalendar/interaction': '5.4.0', '@fullcalendar/timegrid': '5.4.0'}">
<h5>Import</h5> <h5>Import</h5>
<pre v-code.script><code> <pre v-code.script><code>
import FullCalendar from 'primevue/fullcalendar'; import FullCalendar from 'primevue/fullcalendar';