mpx
指南
API
文章
更新记录
GitHub
API 参考
过滤
全局配置
useStrictDiff
ignoreWarning
ignoreProxyWhiteList
observeClassInstance
proxyEventHandler
setDataHandler
forceFlushSync
webRouteConfig
webConfig
全局 API
全局对象 Mpx
mixin
injectMixins
observable
set
delete
use
watch
基础 API
createApp
createPage
createComponent
nextTick
toPureObject
getMixin
implement
内建生命周期变量
BEFORECREATE
CREATED
BEFOREMOUNT
MOUNTED
BEFOREUPDATE
UPDATED
BEFOREUNMOUNT
UNMOUNTED
ONLOAD
ONSHOW
ONHIDE
ONRESIZE
Store API
createStore
createStoreWithThis
createStateWithThis
createGettersWithThis
createMutationsWithThis
createActionsWithThis
响应式 API
响应式基础 API
set
del
reactive
isReactive
markRaw
shallowReactive
Refs
ref
unref
toRef
toRefs
isRef
customRef
shallowRef
triggerRef
Computed 与 Watch
computed
watchEffect
watchSyncEffect
watchPostEffect
watch
Effect 作用域 API
effectScope
getCurrentScope
onScopeDispose
组合式 API
生命周期钩子
onBeforeMount
onMounted
onBeforeUpdate
onUpdated
onBeforeUnmount
onUnmount
onLoad
onShow
onHide
onResize
onPullDownRefresh
onReachBottom
onShareAppMessage
onShareTimeline
onAddToFavorites
onPageScroll
onTabItemTap
onSaveExitState
其他
setup
getCurrentInstance
useI18n
useFetch
选项式 API
实例 API
$set
$watch
$delete
$refs
$asyncRefs
$forceUpdate
$nextTick
$i18n
$rawOptions
内置相关
模版指令 (1)
wx:if
wx:elif
wx:else
wx:for
wx:for-index
wx:for-item
wx:key
wx:class
wx:style
模版指令 (2)
wx:model
wx:model-prop
wx:model-event
wx:model-value-path
wx:model-filter
wx:ref
wx:show
bind
catch
capture-bind
capture-catch
内建组件
component
slot
编译构建
webpack 配置
output.publicPath
output.filename
node.global
rule.resourceQuery
resolve.extensions
MpxWebpackPlugin options (1)
mode
srcMode
modeRules
externalClasses
resolveMode
projectRoot
writeMode
autoScopeRules
catch
forceDisableProxyCtor
transMpxRules
MpxWebpackPlugin options (2)
forceProxyEventRules
autoSplit
defs
attributes
externals
miniNpmPackage
forceUsePageCtor
transRpxRules
postcssInlineConfig
decodeHTMLText
nativeConfig
webConfig
i18n
auditResource
subpackageModulesRules
generateBuildMap
autoVirtualHostRules
partialCompileRules
MpxWebpackPlugin static methods
MpxWebpackPlugin.loader
MpxWebpackPlugin.pluginLoader
MpxWebpackPlugin.wxsPreLoader
MpxWebpackPlugin.fileLoader
MpxWebpackPlugin.urlLoader
Request query
?resolve
?root
?fallback
?useLocal
?isStyle
?isPage
?isComponent
?async
周边拓展
@mpxjs/fetch
fetch
CancelToken
XFetch
interceptors
proxy 代理
useFetch
其他
api-proxy
webview-bridge
size-report
i18n