Skip to content

Commit

Permalink
fix: broken demos
Browse files Browse the repository at this point in the history
  • Loading branch information
keerl committed Oct 29, 2021
1 parent 801a484 commit 97f0545
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo-snippets/ng/install.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const COMPONENTS = [StaticPagerComponent, BasicPagerComponent];
})
export class InstallModule {}

export function install() { }
export function installPlugin() { }

export const demos = [
{ name: 'Static Pager', path: 'static-pager', component: StaticPagerComponent },
Expand Down
3 changes: 0 additions & 3 deletions demo-snippets/ng/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion demo-snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "@nativescript-community/template-snippet",
"version": "0.0.1",
"dependencies": {
"@nativescript-community/ui-pager": "../plugin"
"@nativescript-community/ui-pager": "../packages/ui-pager"
}
}
2 changes: 1 addition & 1 deletion demo-snippets/react/install.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BasicPager } from './BasicPager';

export function install() { }
export function installPlugin() { }

export const demos = [
{ name: 'Basic Pager', path: 'basic', component: BasicPager }
Expand Down
2 changes: 1 addition & 1 deletion demo-snippets/svelte/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { registerNativeViewElement } from 'svelte-native/dom';
import StaticPager from './StaticPager.svelte';
import BasicPager from './BasicPager.svelte';

export function install() {
export function installPlugin() {
PagerElement.register();
registerNativeViewElement('pageritem', () => PagerItem);
}
Expand Down
2 changes: 1 addition & 1 deletion demo-snippets/vue/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Pager from '@nativescript-community/ui-pager/vue';
import StaticPager from './StaticPager.vue';
import BasicPager from './BasicPager.vue';

export function install() {
export function installPlugin() {
Vue.use(Pager);
}

Expand Down

0 comments on commit 97f0545

Please sign in to comment.