同步操作将从 Gitee 极速下载/OpenKraken 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Install Kraken CLI (macOS, Linux only currently)
$ npm i @openkraken/cli -g
Open with kraken
# kraken [localfile|URL]
$ kraken https://raw.githubusercontent.com/openkraken/kraken/master/kraken/example/assets/bundle.js
Quick development 🎉
Compatibility with web standards means you don't have to change your stack.
const text = document.createTextNode('Hello World!');
document.body.appendChild(text);
Cross platform ⚛️
Seamless integration with Flutter, supports web, mobile (iOS, Android) and desktop (MacOS, Linux, Windows).
Fast performance 🚀
Provide native-like performance such as navigation, animation and infinite list scrolling.
Only flutter stable released version are fully tested.
Kraken | Flutter |
---|---|
>= 0.7.0 < 0.8.0 | 1.22.0 ~ 1.22.6 |
>= 0.8.0 < 0.10.0 | 2.2.0 ~ 2.2.3 |
>= 0.10.0 < 0.12.0 | 2.5.0 ~ 2.5.3 |
By contributing to Kraken, you agree that your contributions will be licensed under its Apache-2.0 License.
Prerequisites
kraken/pubspec.yaml
21.4.7075529
(Running on Android)Install
$ npm install
Building bridge
Building bridge for all supported platform (macOS, linux, iOS, Android)
$ npm run build:bridge:all
Building bridge for one platform
macOS
$ npm run build:bridge:macos
linux
$ npm run build:bridge:linux
iOS
$ npm run build:bridge:ios
Android
For Windows users, make sure that running this command under MINGW64 environment(eg. Git Bash).
$ npm run build:bridge:android
Start example
$ cd kraken/example
$ flutter run
Test (Unit Test and Integration Test)
$ npm test
你可以在登录后,发表评论
仓库评论 ( 0 )