Skip to content

Commit 1da5cc6

Browse files
authored
fix: next link not updating (#168)
1 parent 43ee151 commit 1da5cc6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Diff for: .vitepress/theme/index.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import Theme from "@nativescript/vitepress-theme";
2-
import "@nativescript/vitepress-theme/theme/style.css";
1+
import Theme from '@nativescript/vitepress-theme'
2+
import '@nativescript/vitepress-theme/theme/style.css'
33

44
export default {
55
...Theme(),
6-
};
6+
enhanceApp() {},
7+
}

Diff for: content/guide/create-custom-native-elements.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,15 @@ Let's create a `<Checkbox>` component that behaves consistently on iOS and Andro
240240

241241
<iframe style="width: 100%; min-height: 200px; aspect-ratio: 16 / 9;" src="https://www.youtube.com/embed/08uip43irOM" title="Creating custom elements with NativeScript" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
242242

243-
See the full working example on StackBlitz:
243+
See the full working example on StackBlitz:
244+
244245
- Angular: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox?file=src%2Fapp%2Fcheckbox%2Fcommon.ts
245246
- React: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-react?file=src%2Fcomponents%2FScreenOne.tsx
246247
- Solid: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-solid?file=src%2Fcomponents%2Fhome.tsx
247248
- Svelte: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-svelte?file=app%2Fcomponents%2FHome.svelte
248249
- TypeScript: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-ts?file=app%2Fmain-page.xml
249250
- Vue: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-vue?file=src%2Fcomponents%2FHome.vue
250-
251+
251252
In NativeScript, creating custom UI components can be straightforward and powerful. In this guide, you'll learn how to build a simple, reusable Checkbox component using only built-in modules from `@nativescript/core`. We'll leverage a combination of `GridLayout`, `Label`, and Material Design icons.
252253

253254
### Step-by-Step Guide

0 commit comments

Comments
 (0)