An open API service indexing awesome lists of open source software.

https://github.com/shipshapecode/ember-cli-capacitor

Add Capacitor to your Ember app.
https://github.com/shipshapecode/ember-cli-capacitor

Last synced: 5 months ago
JSON representation

Add Capacitor to your Ember app.

Awesome Lists containing this project

README

          

ember-cli-capacitor
==============================================================================

This addon integrates Ember and [Capacitor](https://capacitorjs.com/).
It supports building and live reload for iOS, Android, and Electron.

Compatibility
------------------------------------------------------------------------------

* Ember.js v3.24 or above
* Ember CLI v3.24 or above
* Node.js v12 or above

Installation
------------------------------------------------------------------------------

```
ember install ember-cli-capacitor
```

Usage
------------------------------------------------------------------------------

### Blueprints

The default `ember-cli-capacitor` blueprint will run when you first install
the addon, but if you want to run it again, either to update to the latest
blueprints or to add support for more platforms, you can run it with:

```
ember g ember-cli-capacitor
```

### Commands

#### iOS

```
ember ios:serve
```

```
ember ios:build
```

#### Android

```
ember android:serve
```

```
ember android:build
```

Electron
------------------------------------------------------------------------------

The Electron setup for Capacitor does not have the ability to live reload.
We are working on making a more robust Electron integration, but in the meantime,
using [ember-electron](https://github.com/adopted-ember-addons/ember-electron) may be best.

Contributing
------------------------------------------------------------------------------

See the [Contributing](CONTRIBUTING.md) guide for details.

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).