GithubHelp home page GithubHelp logo

weiqiangzheng / framework7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from framework7io/framework7

0.0 2.0 0.0 31.36 MB

Full featured HTML framework for building iOS & Android apps

Home Page: http://framework7.io

License: MIT License

JavaScript 42.42% CSS 48.42% HTML 5.07% Vue 4.06% Shell 0.04%

framework7's Introduction

Join the chat at https://gitter.im/nolimits4web/Framework7 Build Status devDependency Status Greenkeeper badge

Framework7

Full Featured Mobile HTML Framework For Building iOS & Android Apps

Getting Started

Framework7 Development

Framework7 uses gulp and rollup to build a development (build) and production versions.

First you need to have gulp-cli which you should install globally.

$ npm install --global gulp

Then install all dependencies, in repo's root:

$ npm install

Development Builds

The following npm scripts are available to create development builds:

  • build:dev - build development versions of all packages (Core, Vue, React)
  • build-core:dev - build development version of Core (vanilla JS) Framework7
  • build-react:dev - build development version of Framework7 React package
  • build-vue:dev - build development version of Framework7 Vue package

Compiled results will be available in build/ folder.

Production builds

To build production versions the following npm scripts are available:

  • build:prod - build prodiction versions of all packages (Core, Vue, React)
  • build-core:prod - build prodiction version of Core (vanilla JS) Framework7
  • build-react:prod - build prodiction version of Framework7 React package
  • build-vue:prod - build prodiction version of Framework7 Vue package

Compiled results will be available in packages/ folder.

Kitchen Sink

To Run Kitchen Sink with development environment (development version will be built first) use the following npm scripts:

  • dev - build development versions of all packages (Core, Vue, React) and run local server. With this common script it will watch for changes in all src/ files and rebuild all packages (Core, Vue, React)
  • core:dev - build development version of Core (vanilla JS) Framework7 package and run core Kitchen Sink
  • react:dev - build development version of Framework7 React package and run React Kitchen Sink
  • vue:dev - build development version of Framework7 Vue package and run Vue Kitchen Sink

To Run Kitchen Sink with production builds (already compiled /packages/ will be used), use the following npm scripts:

  • prod - build Kitchen Sinks with production versions
  • core:prod - run core Kitchen Sink with production Framework7 core package
  • react:prod - run React Kitchen Sink with production build of Framework7 React
  • vue:prod - run Vue Kitchen Sink with production build of Framework7 Vue

Source Code

Whole source code is locaed under /src/ folder.

Framework7 uses Phenome compiler to generate React & Vue components. So all the React & Vue related code is under the /src/phenome/ folder

Framework7 core library source code is under /src/core/ folder

Contributing

Before you open an issue please review the contributing guideline.

All changes should be commited to src/ files only!.

Framework7 uses LESS for CSS compliations, and ES modules JS files.

The project uses .editorconfig and ESLint to define and lint the coding style of each file. We recommend that you install the Editor Config and ESLint extension for your preferred IDE.

If you want to help in Framework7 development and make it event better visit this page: http://framework7.io/contribute/

Forum

If you have questions about Framework7 or want to help others you are welcome to special forum at http://forum.framework7.io/

Docs

Documentation available at http://framework7.io/docs/

Tutorials

Tutorials available at http://framework7.io/tutorials/

Showcase

Appstore apps made with Framework7: http://framework7.io/showcase/

Previous Versions

framework7's People

Contributors

nolimits4web avatar greenkeeper[bot] avatar gregkeys avatar marcgodard avatar robinyip avatar spiderneo1 avatar blikblum avatar jjj avatar twss avatar zhennann avatar leecrossley avatar boynet avatar gordol avatar tarekajaj avatar caoleilei avatar bencompton avatar macdonst avatar gagustavo avatar razekteixeira avatar chachew avatar achmadk avatar strate avatar roshanca avatar fouber avatar irfanevrens avatar sepehrr avatar shastox avatar safrazik avatar klvn avatar jmarceli avatar

Watchers

James Cloos avatar  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.