The uni-app project supports vue 3.0 introduction and upgrade guide

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-appon App/H5/小程序all platforms Vue 3.0and Vitecompilers are supported on all platforms. Download HBuilderX 3.3.0+ to experience it .

Tips:

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:

  1. Create a uni-app project
  2. Switch to "vue version selection" in the "Basic Configuration" of the project manifest. The default is vue.

Guess you like

Origin blog.csdn.net/weixin_40808668/article/details/132612957