Framework7

全面的HTML框架,用于构建iOS和Android应用程序。(Full Featured HTML Framework For Building iOS & Android Apps.)

Github星跟蹤圖

Framework7 是一个免费的开源移动HTML框架,用于开发具有 iOS 和 Android 原生外观的混合移动应用程序或网络应用程序。 它也是不可缺少的原型应用程序工具,以尽快显示工作应用程序原型,以防您需要。

Framework7 的主要方法是让您有机会轻松创建具有HTML,CSS和JavaScript的iOS和Android应用程序。 Framework7 充满了自由。 它不会限制你的想象力,或者以某种方式提供任何解决方案。 Framework7给你自由!

Framework7与所有平台不兼容。 它只专注于iOS和Google材料设计,带来最好的体验和简单性。

如果您决定构建iOS或Android混合应用程序(PhoneGap)或Web应用程序,那么 Framework7 绝对是您的理想选择。

概覽

名稱與所有者framework7io/framework7
主編程語言JavaScript
編程語言HTML (語言數: 7)
平台Linux, Mac, Windows
許可證MIT License
發布數377
最新版本名稱v8.3.3 (發布於 )
第一版名稱v0.3.5 (發布於 2014-04-12 21:52:33)
創建於2014-02-23 12:15:53
推送於2024-03-25 07:49:17
最后一次提交2024-03-25 10:49:13
星數17.9k
關注者數690
派生數3.2k
提交數7k
已啟用問題?
問題數3505
打開的問題數181
拉請求數479
打開的拉請求數2
關閉的拉請求數225
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Framework7 is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider becoming a backer or sponsor on Patreon.

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
  • build-svelte:dev - build development version of Framework7 Svelte package

Compiled results will be available in build/ folder.

Production builds

To build production versions the following npm scripts are available:

  • build:prod - build production versions of all packages (Core, Vue, React)
  • build-core:prod - build production version of Core (vanilla JS) Framework7
  • build-react:prod - build production version of Framework7 React package
  • build-vue:prod - build production version of Framework7 Vue package
  • build-svelte:prod - build production version of Framework7 Svelte 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
  • svelte:dev - build development version of Framework7 Svelte package and run Svelte 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
  • svelte:prod - run Svelte Kitchen Sink with production build of Framework7 Svelte

Source Code

Whole source code is located 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 committed to src/ files only!.

Framework7 uses LESS for CSS compilations, 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: https://framework7.io/contribute/

Forum

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

Docs

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

Tutorials

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

Showcase

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

Previous Versions

去到頂部