Introduction
HBuilderX 3.3.0+
Update the uni-app compiler to support compilation to the mini program platform based on Vite.
At this point, development is supported uni-app
on App/H5/小程序
all platforms Vue 3.0
and Vite
compilers are supported on all platforms. Download HBuilderX 3.3.0+ to experience it .
Tips:
- H5/PC Web platform: hello-uniapp H5 side has been migrated to vue3, click to experience
In addition to supporting vue3
syntax features, uni-app
unique life cycle hooks are supported Composition API
, such as onLaunch
, onShow
, onLoad
.... For usage methods, please see the Vue2 migration Vue3 document.
HBuilderX creates a uni-app project that supports vue3
Starting from HBuilderX 3.3.0+, it supports the creation of vue3 uni-app projects, and one set of code can be run on multiple terminals:
- Create a uni-app project
- Switch to "vue version selection" in the "Basic Configuration" of the project manifest. The default is vue.