Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

patogordo/nuxt-3-capacitor

Repository files navigation

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Sync

Make nuxt and Capacitor sync

yarn sync

Open Android app

Open app in Android Studio, to run it

yarn open:android

Run Android app

Run the app in a Connected Android Device/Emulator

yarn android

Android in Development

Open android in Development mode

Add the lines below to run the application in Development

{
  "appId": "dev.patogordo.nuxt3",
  "appName": "nuxt3-android",
  "webDir": "dist",
  "bundledWebRuntime": false,
  "server": {
    "url": "http://192.168.1.15:3000",
    "cleartext": true
  }
}

Also run the nuxt development server with the command below

yarn dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published