mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Test it out!
- Run
gulp watch
to build, serve, and watch Ionic & playground - Run
gulp karma-watch
while gulp watch is running to watch tests. - All test files must be suffixed with
.spec.js
. Don't put a test as a sibling of a normal file, or import will decide the.spec.js
is the same as the.js
.
Building & Running
gulp watch
httpster
open http://localhost:9000/e2e/aside/basic/index.html
- Follow the structure found in src/components/aside/examples/basic
to create more examples.
- The biggest thing to remember: your app has to import its dependencies with the
app/
prefix. For exampleimport {Apple} from 'apple';
would import apple.js in your example app.
- The biggest thing to remember: your app has to import its dependencies with the
Build
- JSCS
- JSHint (or TypeScript variant)
Current Focus
Build/Angular2
- Build system
- Repo structure overlord
- ES6/Angular2/Component conventions
- Global/Attribute config system
- Dynamically assign behaviors/templates per config
HTML/CSS/Transitions
- Markup structure
- SCSS
- View transitions
- Core View History/Navigation system
- Routing
- Snapshot
Gestures
- Gesture system
- Linear constraints
- Auto layout
- Class/inheritance system
- Translate native concepts to the web
Make it so
<nav-view>
<aside left/>
<aside right/>
<aside top/>
<view cached/>
<view cached/>
<view cached/>
<tabs active>
<tab selected>
<nav-view>
<aside left/>
<aside right/>
<view active/>
<view cached/>
<view cached/>
</nav-view>
</tab>
<tab deselected>
<nav-view>
<aside/>
<view cached/>
<view active/>
<tabs cached>
<tab deselected>
<nav-view>
<aside left/>
<aside bottom/>
<view active/>
<view cached/>
<view cached/>
</nav-view>
</tab>
<tab selected>
<nav-view>
<view cached/>
<view active/>
</nav-view>
</tab>
</tab>
</nav-view>
</tab>
</tab>
<view cached/>
</nav-view>
Description
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
angularcapacitorframeworkfrontendioniciosjavascriptmaterial-designmobilepwareactstencilstenciljstypescriptvuewebwebcomponents
Readme
MIT
2.4 GiB
Languages
TypeScript
60.8%
HTML
24.8%
SCSS
11%
JavaScript
2%
Vue
0.9%
Other
0.5%