Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova

License

NotificationsYou must be signed in to change notification settings

isleofcode/corber

Repository files navigation

Corber is a CLI that improves the hybrid app build experience for Vue, Ember, Glimmer, and React apps using Cordova.

Corber handles framework and app builds and validations with a single command:corber build - without affecting existing web flows. The CLI also includes on-device livereload for development and utility functions for icons, plugins, and more. And when needed, it can proxy to the Cordova CLI.

It is a continuation of the ember-cordova project. ember-cordova users can find detailshere, and continue to access the existingember addon anddocumentation. For migration instructions, seeMigrating from Ember Cordova.

Installation

# Yarnyarn global add corber# NPMnpm install -g corber

Initialize Corber

  1. Change to your project directory.
  2. Runcorber init.
  3. Select iOS and press space to select the platform.

Configure Your Project for Corber

Vue CLI 3

  1. Openvue.config.js. (Create file in project root if it doesn't exist. SeeExample Vue Config.)
  2. Requirecorber-webpack-plugin and assign it asCorberWebpackPlugin.
  3. Addnew CorberWebpackPlugin() to theconfigureWebpack.plugins array.

For Vue CLI 2 or Non-Vue CLI, seeConfigure Vue CLI 2 or Non-Vue CLI projects.

Ember

  1. Openconfig/environment.js.
  2. SetlocationType tohash.
  3. UpdaterootURL orbaseURL to remove its leading slash, if it has one.

Extending Frameworks

Corber comes with built-in support for Vue, Ember, and React, but can be extended to work with the framework of your choice. SeeExtending Corber to Support Other Frameworks.

Run App on an Emulator with Live Reload

  1. Runcorber start.
  2. Select an emulator.

Build, Flash, and Run App on Your Device

  1. Runcorber build. (Ignore error code 65 error, signing will be set in step 3.)
  2. Runcorber open to open the Xcode project.
  3. First Time Only: In Xcode, select the Project Navigator, select your project, and under Signing, set your Team.
  4. Connect your iPhone via its USB cable. (Accept the "Trust This Computer?" alert if prompted.)
  5. In Xcode, select your connected device in the toolbar.
  6. Press the Play button to flash and run the app on your device.

For Android builds seeAndroid Setup. For full documentation, please visitcorber.io.

Contributing

Pull requests are very welcome. You can read our style guideshere.

If you are unsure about your contribution idea, please feel free to open an issue for feedback.

Find an issue with our documentation? All docs are hosted on this repo under thegh-pages branch.

Credits

Corber is maintained byIsle of Code.

About

CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors91


[8]ページ先頭

©2009-2025 Movatter.jp