Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>code-snippet-rnNew to Visual Studio Code? Get it now.
code-snippet-rn

code-snippet-rn

hungzazed

|
5 installs
| (0) | Free
code-snippet-rn
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bước 1: tạo project

npx create-expo-app <tên project> --example with-router-tailwind

Bước 2: cài package

npx expo install react-native-reanimated react-native-worklets react-native-paper expo-sqlite

Bước 3: khai báo WebAssembly là tài nguyên hợp lệ cho project trong metro.config.js để chạy sqlite trên web

config.resolver.assetExts.push('wasm');

Bước 4: Chạy dự án npx expo start

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft