Giter VIP home page Giter VIP logo

weex-starter-cli's Introduction

weex-starter-cli

weex-starter-cli

Install Cli

npm install weex-starter-cli -g

getting start

1.create directory

mkdir helloweex

2.checkout directory

cd helloweex

3.init project

weex-starter-cli

4.init iOS

need bundle exec pod install // pod install
open project and run by Xcode // open project run project

file structure

  • src/*: all Vue's source code
  • app.js: entrance of the Weex page
  • build/*: some build scripts
  • dist/*: where places generated code
  • assets/*: some assets for Web preview
  • index.html: a page with Web preview and qrcode of Weex js bundle
  • weex.html: Web render
  • .babelrc: babel config (preset-2015 by default)
  • .eslintrc: eslint config (standard by default)

npm scripts

# build in dev-server and run project
npm run dev

# build the js bundles for dev
npm run build:dev

# build the js bundles for qa
npm run build:qa

# build the js bundles for prod
npm run build:prod

# run api-server
npm run serve

weex-starter-cli's People

Contributors

roxyhuang avatar

Stargazers

落花 avatar biear avatar 海贼王 avatar Makes avatar Badgays avatar

Watchers

James Cloos avatar  avatar Badgays avatar Makes avatar

Forkers

agvhvh

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.