Some paths fixed

pull/3420/head
Bahadir Sofuoglu 2022-09-12 17:07:51 +03:00
parent 4add722619
commit 699a2d7398
8 changed files with 20 additions and 10 deletions

View File

@ -21,7 +21,7 @@
<Card style="width: 25em"> <Card style="width: 25em">
<template #header> <template #header>
<img alt="user header" src="//demo/images/usercard.png" /> <img alt="user header" src="/demo/images/usercard.png" />
</template> </template>
<template #title> Advanced Card </template> <template #title> Advanced Card </template>
<template #subtitle> Card subtitle </template> <template #subtitle> Card subtitle </template>

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="content-section documentation"> <div class="content-section documentation">
<ClientOnly>
<TabView> <TabView>
<TabPanel header="Documentation"> <TabPanel header="Documentation">
<h5>Import via Module</h5> <h5>Import via Module</h5>
@ -540,5 +541,6 @@ export default {
</code></pre> </code></pre>
</TabPanel> </TabPanel>
</TabView> </TabView>
</ClientOnly>
</div> </div>
</template> </template>

View File

@ -1,6 +1,8 @@
<template> <template>
<ClientOnly> <ClientOnly>
<AppDoc name="StyleClassDemo" :sources="sources" github="styleclass/StyleClassDemo.vue"> <AppDoc name="StyleClassDemo" :sources="sources" github="styleclass/StyleClassDemo.vue">
<div>
<h5>Import via Module</h5> <h5>Import via Module</h5>
<pre v-code.script><code> <pre v-code.script><code>
import StyleClass from 'primevue/styleclass'; import StyleClass from 'primevue/styleclass';
@ -140,8 +142,10 @@ app.directive('styleclass', StyleClass);
<h5>Dependencies</h5> <h5>Dependencies</h5>
<p>None.</p> <p>None.</p>
</div>
</AppDoc> </AppDoc>
</ClientOnly> </ClientOnly>
</template> </template>
<script> <script>

View File

@ -1,5 +1,6 @@
<template> <template>
<div> <div>
<div>
<div class="content-section introduction"> <div class="content-section introduction">
<div class="feature-intro"> <div class="feature-intro">
<h1>StyleClass</h1> <h1>StyleClass</h1>
@ -23,6 +24,7 @@
</div> </div>
<StyleClassDoc /> <StyleClassDoc />
</div>
</template> </template>
<script> <script>

View File

@ -101,6 +101,7 @@ import VirtualScroller from '@/components/virtualscroller/VirtualScroller';
import AppDemoActions from '@/layouts/AppDemoActions' import AppDemoActions from '@/layouts/AppDemoActions'
import AppDoc from '@/layouts/AppDocumentation' import AppDoc from '@/layouts/AppDocumentation'
import AppInputStyleSwitch from '@/layouts/AppInputStyleSwitch' import AppInputStyleSwitch from '@/layouts/AppInputStyleSwitch'
import DevelopmentSection from '@/layouts/DevelopmentSection'
import CodeHighlight from '@/layouts/AppCodeHighlight'; import CodeHighlight from '@/layouts/AppCodeHighlight';
export default defineNuxtPlugin((nuxtApp) => { export default defineNuxtPlugin((nuxtApp) => {
@ -212,5 +213,6 @@ nuxtApp.vueApp.component('VirtualScroller', VirtualScroller);
nuxtApp.vueApp.component('AppDemoActions', AppDemoActions); nuxtApp.vueApp.component('AppDemoActions', AppDemoActions);
nuxtApp.vueApp.component('AppInputStyleSwitch', AppInputStyleSwitch); nuxtApp.vueApp.component('AppInputStyleSwitch', AppInputStyleSwitch);
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
nuxtApp.vueApp.component('AppDoc', AppDoc); nuxtApp.vueApp.component('AppDoc', AppDoc);
}); });

View File

@ -1,22 +1,22 @@
export default class CustomerService { export default class CustomerService {
getCustomersSmall() { getCustomersSmall() {
return fetch('demo/data/customers-small.json').then(res => res.json()) return fetch('/demo/data/customers-small.json').then(res => res.json())
.then(d => d.data); .then(d => d.data);
} }
getCustomersMedium() { getCustomersMedium() {
return fetch('demo/data/customers-medium.json').then(res => res.json()) return fetch('/demo/data/customers-medium.json').then(res => res.json())
.then(d => d.data); .then(d => d.data);
} }
getCustomersLarge() { getCustomersLarge() {
return fetch('demo/data/customers-large.json').then(res => res.json()) return fetch('/demo/data/customers-large.json').then(res => res.json())
.then(d => d.data); .then(d => d.data);
} }
getCustomersXLarge() { getCustomersXLarge() {
return fetch('demo/data/customers-xlarge.json').then(res => res.json()) return fetch('/demo/data/customers-xlarge.json').then(res => res.json())
.then(d => d.data); .then(d => d.data);
} }

View File

@ -1,12 +1,12 @@
export default class NodeService { export default class NodeService {
getTreeTableNodes() { getTreeTableNodes() {
return fetch('demo/data/treetablenodes.json').then(res => res.json()) return fetch('/demo/data/treetablenodes.json').then(res => res.json())
.then(d => d.root); .then(d => d.root);
} }
getTreeNodes() { getTreeNodes() {
return fetch('demo/data/treenodes.json').then(res => res.json()) return fetch('/demo/data/treenodes.json').then(res => res.json())
.then(d => d.root); .then(d => d.root);
} }
} }

View File

@ -1,14 +1,14 @@
export default class ProductService { export default class ProductService {
getProductsSmall() { getProductsSmall() {
return fetch('/public/demo/data/products-small.json').then(res => res.json()).then(d => d.data); return fetch('/demo/data/products-small.json').then(res => res.json()).then(d => d.data);
} }
getProducts() { getProducts() {
return fetch('/public/demo/data/products-small.json').then(res => res.json()).then(d => d.data); return fetch('/demo/data/products-small.json').then(res => res.json()).then(d => d.data);
} }
getProductsWithOrdersSmall() { getProductsWithOrdersSmall() {
return fetch('/public/demo/data/products-small.json').then(res => res.json()).then(d => d.data); return fetch('/demo/data/products-small.json').then(res => res.json()).then(d => d.data);
} }
} }