From 3631d7fdc11d4a4333276c03453f1c0d72a4c7cd Mon Sep 17 00:00:00 2001 From: sadobass Date: Wed, 9 Apr 2025 16:03:51 +0900 Subject: [PATCH 1/2] fix: Next Link not updating issue --- .vitepress/theme/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.vitepress/theme/index.js b/.vitepress/theme/index.js index b9432c94..1ddc5daf 100644 --- a/.vitepress/theme/index.js +++ b/.vitepress/theme/index.js @@ -1,6 +1,7 @@ -import Theme from "@nativescript/vitepress-theme"; -import "@nativescript/vitepress-theme/theme/style.css"; +import Theme from '@nativescript/vitepress-theme' +import '@nativescript/vitepress-theme/theme/style.css' export default { ...Theme(), -}; + enhanceApp() {}, +} From 5b9f63fe6278cb9e24241ea33887be9f28b39311 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Wed, 9 Apr 2025 19:04:31 -0700 Subject: [PATCH 2/2] fix: linting --- content/guide/create-custom-native-elements.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/guide/create-custom-native-elements.md b/content/guide/create-custom-native-elements.md index 430db181..c64ab922 100644 --- a/content/guide/create-custom-native-elements.md +++ b/content/guide/create-custom-native-elements.md @@ -240,14 +240,15 @@ Let's create a `` component that behaves consistently on iOS and Andro -See the full working example on StackBlitz: +See the full working example on StackBlitz: + - Angular: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox?file=src%2Fapp%2Fcheckbox%2Fcommon.ts - React: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-react?file=src%2Fcomponents%2FScreenOne.tsx - Solid: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-solid?file=src%2Fcomponents%2Fhome.tsx - Svelte: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-svelte?file=app%2Fcomponents%2FHome.svelte - TypeScript: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-ts?file=app%2Fmain-page.xml - Vue: https://stackblitz.com/edit/nativescript-create-custom-elements-checkbox-vue?file=src%2Fcomponents%2FHome.vue - + 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. ### Step-by-Step Guide