mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 02:12:16 +03:00
Add cordova example
This commit is contained in:
parent
eb44091065
commit
32d65baab7
68
pages/common/cordova.md
Normal file
68
pages/common/cordova.md
Normal file
@ -0,0 +1,68 @@
|
||||
# cordova
|
||||
|
||||
> Mobile apps with HTML, CSS & JS
|
||||
|
||||
- Create a cordova project
|
||||
|
||||
`cordova create {{path}}`
|
||||
|
||||
- Create a detailed cordova project
|
||||
|
||||
`cordova create {{path}} {{package.name}} {{project.name}}`
|
||||
|
||||
- Display the current workspace status
|
||||
|
||||
`cordova info`
|
||||
|
||||
- Add a cordova platform
|
||||
|
||||
`cordova platform add {{platform}}`
|
||||
|
||||
- Update a cordova platform
|
||||
|
||||
`cordova platform update {{platform}}`
|
||||
|
||||
- Remove a cordova platform
|
||||
|
||||
`cordova platform remove {{platform}}`
|
||||
|
||||
- Show platform list
|
||||
|
||||
`cordova platform list`
|
||||
|
||||
- Add a cordova plugin from cordova plugin market
|
||||
|
||||
`cordova plugin add {{pluginid}}`
|
||||
|
||||
- Add a cordova plugin from local path
|
||||
|
||||
`cordova plugin add {{path}}`
|
||||
|
||||
- Add a cordova plugin from git url
|
||||
|
||||
`cordova plugin add {{giturl}}`
|
||||
|
||||
- Remove a cordova plutin
|
||||
|
||||
`cordova plugin remove {{pluginid}}`
|
||||
|
||||
- Show plugin list
|
||||
|
||||
`cordova plugin list`
|
||||
|
||||
- Copies files for specified platforms, or all platforms
|
||||
|
||||
`cordova prepare {{--ios}}`
|
||||
|
||||
- Builds the app for specified platforms, or all platforms
|
||||
|
||||
`cordova compile {{--debug}} {{--emulator}} {{--android}}`
|
||||
|
||||
- Run project
|
||||
|
||||
`cordova run {{--ios}}`
|
||||
|
||||
- Run project with a local webserver
|
||||
|
||||
`cordova serve {{8000}}`
|
||||
|
Loading…
Reference in New Issue
Block a user