Socket
Book a DemoInstallSign in
Socket

mo-framework

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mo-framework

Hybrid mobile app framework with generators

0.7.1
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

mo 🐍 framework

Hybrid mobile and web app framework with generators

Create awesome mobile and web apps:

  • Using all ES6+ features
  • With any view engine you love
  • Generating scaffold stuff
  • With wireless hot-reload on devices

Fast start

# Install mo globally
npm install -g mo-framework
# Create new app
mo new my-app && cd my-app
# Install dependencies
npm install
# Start the development server
mo serve

Now open http://x.x.x.x:7777 in your mobile or desktop browser.

Add the page to your device Home Screen to run it in fullscreen.

Using generators

# Create new page with .js, .hbs and .less files
mo generate page Profile

# Create new modal with .js, .hbs and .less files
mo generate modal Connection

Now edit views/components/menu/menu.hbs to include new page to menu.

Using with PhoneGap

# Setup
cd phonegap/
phonegap platform add ios
phonegap platform add android
cd ../

# Build
npm run phonegap

# Run emulators
npm run phonegap:emulate

Publishing as web app

npm run webapp

Tune webapp/index.html if needed and upload webapp folder to your web hosting.

Demo screenshots

Keywords

phonegap

FAQs

Package last updated on 07 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.