Git Product home page Git Product logo

capacitor-testapp's Introduction

Capacitor TestApp

The Capacitor TestApp is used to develop new features and verify bug fixes in Capacitor and the official plugins. It is built with Ionic React.

Setup

  1. Fork and clone this repo.

  2. Install the dependencies.

    npm install

The TestApp is just like any other Ionic React app. See the docs to learn what you can do.

  • ionic build to build web assets
  • ionic serve to run web version in your browser
  • ionic cap sync
  • ionic cap run <platform> (also w/ livereload: just add -l --external flags)

You can also opt-out of the Ionic CLI and use npm scripts and the Capacitor CLI directly:

  • npm run build
  • npm start
  • npx cap sync
  • npx cap run <platform> (no automatic livereload)

Developing Capacitor

New to Capacitor development? Start here.

To use the TestApp to develop Capacitor and official plugins, make sure you have set up the sibling repositories. Clone Capacitor and the plugins repo into the same parent directory.

cd ../
git clone [email protected]:ionic-team/capacitor.git
git clone [email protected]:ionic-team/capacitor-plugins.git

Follow the setup instructions for each repo:

Then, back in this repo, run the following to link the packages in both repos to this app:

npm run toggle-local

capacitor-testapp's People

Contributors

carlpoole avatar dependabot[bot] avatar elylucas avatar ikeith avatar imhoffd avatar jcesarmobile avatar theproducer avatar thomasvidas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.