Vue NativeVue Native
Guide
Components
Composables
Navigation
  • iOS
  • Android
  • macOS
GitHub
Guide
Components
Composables
Navigation
  • iOS
  • Android
  • macOS
GitHub
  • Getting Started

    • Introduction
    • Installation
    • Your First App
    • Project Structure
  • Core Concepts

    • Components
    • Styling
    • Navigation
    • Native Modules
    • Native Code Blocks
    • Hot Reload
  • Advanced

    • Error Handling
    • Accessibility
    • TypeScript
    • Performance
    • Shared Element Transitions
    • Testing
    • Security
    • Debugging
    • Teleport
    • Forms and v-model
  • Integration Guides

    • State Management
    • Deep Linking & Universal Links
    • State Persistence
    • Push Notifications
    • Error Reporting & Monitoring
  • Tooling

    • Managed Workflow
    • VS Code Extension
    • Neovim Plugin
  • Building & Releasing

    • Building for Release
    • Deployment & App Store Submission
  • Reference

    • Migration & Upgrade Guide
    • Known Limitations & Platform Differences
    • Troubleshooting

VS Code Extension

Vue Native provides a VS Code extension with snippets, diagnostics, and tooling for a productive development experience.

Installation

From Source

cd tools/vscode-extension
bun install
bun run build
npx @vscode/vsce package
code --install-extension vue-native-snippets-0.1.0.vsix

Marketplace

The extension will be published to the VS Code Marketplace as vue-native-snippets. Check the GitHub releases for the latest .vsix file.

Snippets

All snippets use the vn- prefix. Type vn- in a .vue file to see all available snippets.

Scaffolds

PrefixDescription
vn-appFull app with SafeArea and styles
vn-screenScreen component with route
vn-mainmain.ts entry with router
vn-configvue-native.config.ts
vn-stylescreateStyleSheet block

Components

PrefixComponent
vn-viewVView
vn-textVText
vn-buttonVButton
vn-inputVInput
vn-imageVImage
vn-scrollviewVScrollView
vn-listVList
vn-safeareaVSafeArea
vn-switchVSwitch
vn-sliderVSlider
vn-activityVActivityIndicator
vn-modalVModal
vn-alertVAlertDialog
vn-actionsheetVActionSheet
vn-statusbarVStatusBar
vn-webviewVWebView
vn-progressVProgressBar
vn-pickerVPicker
vn-segmentedVSegmentedControl
vn-keyboardVKeyboardAvoiding
vn-refreshVRefreshControl
vn-pressableVPressable
vn-checkboxVCheckbox
vn-radioVRadio
vn-dropdownVDropdown
vn-sectionlistVSectionList
vn-videoVVideo
vn-errorboundaryVErrorBoundary

Navigation

PrefixDescription
vn-routerviewRouterView
vn-navbarVNavigationBar
vn-tabbarVTabBar
vn-routercreateRouter
vn-router-optionscreateRouter with linking
vn-tabscreateTabNavigator
vn-drawercreateDrawerNavigator
vn-userouteruseRouter
vn-userouteuseRoute
vn-onfocusonScreenFocus
vn-onbluronScreenBlur

Composables

PrefixComposable
vn-hapticsuseHaptics
vn-storageuseAsyncStorage
vn-clipboarduseClipboard
vn-deviceinfouseDeviceInfo
vn-usekeyboarduseKeyboard
vn-animationuseAnimation
vn-networkuseNetwork
vn-appstateuseAppState
vn-linkinguseLinking
vn-shareuseShare
vn-permissionsusePermissions
vn-geolocationuseGeolocation
vn-camerauseCamera
vn-notificationsuseNotifications
vn-biometryuseBiometry
vn-httpuseHttp
vn-colorschemeuseColorScheme
vn-backhandleruseBackHandler
vn-securestorageuseSecureStorage
vn-websocketuseWebSocket
vn-platformusePlatform
vn-dimensionsuseDimensions
vn-filesystemuseFileSystem
vn-accelerometeruseAccelerometer
vn-gyroscopeuseGyroscope
vn-audiouseAudio
vn-databaseuseDatabase
vn-i18nuseI18n

Layout Helpers

PrefixDescription
vn-rowHorizontal flex row
vn-columnVertical flex column
vn-centerCentered container

Diagnostics

The extension highlights common mistakes in .vue files:

  • app.mount() -- Vue Native uses app.start(), not app.mount(). There is no DOM.
  • @press -- Buttons use :onPress (prop binding), not @press (event listener).
  • Import hints -- Suggests using @thelacanians/vue-native-runtime for explicit imports.

Recommended Extensions

For the best Vue Native development experience, install these companion extensions:

  • Vue - Official (Volar) -- Vue 3 language support
  • TypeScript Vue Plugin -- TypeScript in .vue files
Edit this page
Last Updated: 2/28/26, 11:24 PM
Contributors: Abdul Hamid, Claude Opus 4.6
Prev
Managed Workflow
Next
Neovim Plugin