Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chang-ke/dva-native-cli
/ functions
Functions
45 in github.com/chang-ke/dva-native-cli
⨍
Functions
45
◇
Types & classes
9
↓ 6 callers
Function
createAction
template/app/utils/index.js:7
↓ 3 callers
Function
installDependencies
* * * @param {string} projectName
bin/dva-native.js:140
↓ 3 callers
Function
renameProject
* rename project * * @param {string} targetPath * @param {string} projectName
bin/dva-native.js:107
↓ 2 callers
Function
copyFile
* copy file from templatePath to targetPath * * @param {string} templatePath * @param {string} targetPath
bin/dva-native.js:52
↓ 2 callers
Function
copyTemplate
* copy template * * @param {string} templatePath * @param {string} targetPath * @returns {boolean}
bin/dva-native.js:79
↓ 2 callers
Function
fsExistsSync
* * @param {string} path * @returns {boolean} 路径是否存在
bin/dva-native.js:38
↓ 2 callers
Function
routerReducer
(state, action = {})
template/app/router.js:140
↓ 1 callers
Function
confirmOverride
()
bin/dva-native.js:56
↓ 1 callers
Function
delay
template/app/utils/index.js:5
↓ 1 callers
Function
getCurrentScreen
(navigationState)
template/app/router.js:84
↓ 1 callers
Function
isPushAction
template/app/models/router.js:8
↓ 1 callers
Function
removeGit
()
bin/dva-native.js:25
Function
Button
({ text, children, style, textStyle, ...rest })
template/app/components/Button.js:6
Function
Commander
()
utils/commander.js:1
Function
Loading
()
template/app/containers/Loading.js:4
Function
Touchable
template/app/components/Touchable.js:5
Function
apply
(state, { payload: action })
template/app/models/router.js:18
Function
backupDir
(templatePath, backupPath)
bin/dva-native.js:164
Function
clear
()
template/app/utils/storage.js:3
Method
componentDidMount
()
template/app/router.js:107
Method
componentWillMount
()
template/app/router.js:103
Method
componentWillUnmount
()
template/app/router.js:111
Function
get
(key, defaultValue = null)
template/app/utils/storage.js:7
Method
getJSMainModuleName
()
template/android/app/src/main/java/com/dvastarter/MainApplication.java:29
Method
getMainComponentName
Returns the name of the main component registered from JavaScript. This is used to schedule rendering of the component.
template/android/app/src/main/java/com/dvastarter/MainActivity.java:11
Method
getPackages
()
template/android/app/src/main/java/com/dvastarter/MainApplication.java:22
Method
getReactNativeHost
()
template/android/app/src/main/java/com/dvastarter/MainApplication.java:35
Method
getUseDeveloperSupport
()
template/android/app/src/main/java/com/dvastarter/MainApplication.java:17
Function
loadStorage
(action, { call, put })
template/app/models/app.js:17
Function
login
()
template/app/services/auth.js:3
Function
login
({ payload }, { call, put })
template/app/models/app.js:21
Function
logout
(action, { call, put })
template/app/models/app.js:37
Function
multiGet
(...keys)
template/app/utils/storage.js:21
Function
multiRemove
(...keys)
template/app/utils/storage.js:31
Function
newLatestProject
* * * @param {string} projectName
bin/dva-native.js:188
Function
newProject
* * * @param {string} projectName
bin/dva-native.js:206
Method
onCreate
()
template/android/app/src/main/java/com/dvastarter/MainApplication.java:40
Function
onError
(e)
template/app/index.js:14
Function
remove
(key)
template/app/utils/storage.js:17
Function
removeBackup
(backupPath)
bin/dva-native.js:180
Method
render
()
template/app/router.js:127
Method
render
()
template/app/containers/Detail.js:23
Function
set
(key, value)
template/app/utils/storage.js:13
Function
setup
({ dispatch })
template/app/models/app.js:43
Function
updateState
(state, { payload })
template/app/models/app.js:12