当前位置:网站首页>Uni app from creation to operation to wechat developer tool
Uni app from creation to operation to wechat developer tool
2022-07-26 14:07:00 【Love jiaduobao】
uni-app It's based on Vue.js Develop a front-end framework for cross platform applications
It solves the tedious writing of native small programs , As long as you can vue You can go through uni-app Write an applet
First of all, I recommend developing tools HBuilder, Although I prefer VScode, But this is really suitable for writing uni-app, and uni-app Official recommendation HBuilderX To develop uni-app Item of type
benefits : Rich templates 、 There are perfect code prompts 、 You can preview our project by running on multiple platforms with one click
You can also use VScode Wait for your familiar editor
download HBuilderX
Address :https://www.dcloud.io/hbuilderx.html
Choose to download the official version 》App Development Edition
decompression ( English only catalogue ) double-click HBuilderX.exe You can start
stay HBuilderX Install in scss/sass Compile the plug-in
Easy to write css style <style lang="scss"></style>
Address :https://ext.dcloud.net.cn/plugin?name=compile-node-sass
Sign in , No account registered first ,
After successful login , Open it first HBuilderX, Click green to use HBuilderX Import plug-ins
Click OK to jump to HBuilderX

Click on the install , Wait for the installation to succeed

file 》 newly build 》 project
Project name 、 route 、 Recommended choice uni-ui project 、vue Version selection
create


Log in to your own applet wechat public platform , Copy and paste your own wechat applet AppID

stay HBuilderX Configure wechat applet ( Paste your own AppID) Pictured :

HBuilderX Configure the installation path of wechat developer tools in
First, Download wechat developer tools, and then :
Tools 》 Set up 》 Pictured

In wechat developer tools , Set up 》 Security Settings 》 Open the service port : Pictured

function
First, close the wechat developer tool
stay HBuilderX in
function 》 Run to the applet Simulator 》 Choose the first default wechat developer tool
After clicking, the project will automatically run into the wechat developer tool
Pictured

After running, the wechat developer tool will be automatically opened , And run the running project
If there is a white screen problem after running , Close wechat developer tools , stay HBuilderX Stop running the project , Then run it again 
Roar, roar , It's over !!!
边栏推荐
- Ten thousand words long article, talking about the blueprint of enterprise digital modeling
- Synchronization mechanism of go (sync.mutex)
- A survey of machine learning based technology term recognition
- Canvas upload image Base64 with cropping function jcrop.js
- 2022-07-26日报:Alphafold DB数据库建立一周年,官推盘点亮点研究
- JSON data returned by controller
- Go multithread communication, control coordination and main thread shutdown (sync.waitgroup)
- 大脑带来的启发:深度神经网络优化中突触整合原理介绍
- 循环队列(c语言实现)
- Pass parameters to the routing component
猜你喜欢

Research on Chinese medicine assisted diagnosis and treatment scheme integrating multiple natural language processing tasks -- taking diabetes as an example

大脑带来的启发:深度神经网络优化中突触整合原理介绍

MLX90640 红外热成像仪测温传感器模块开发笔记(六)

基于专利多属性融合的技术主题划分方法研究

Re bet overseas: Alibaba, jd.com and SF again fight for "internal power"

C语言_结构体和数组的结合

GDB common commands

基于SPO语义三元组的疾病知识发现

Pytoch learning notes (III) use, modification, training (cpu/gpu) and verification of the model
![[NOIP2003 普及组]栈](/img/95/871b1c6f492b467bffd25912304b44.gif)
[NOIP2003 普及组]栈
随机推荐
C language_ Structure pointer variable introduction
Basic knowledge about memory chips
Canvas upload image Base64 with cropping function jcrop.js
Explain four interesting NPM usages with charts
融合多自然语言处理任务的中医辅助诊疗方案研究——以糖尿病为例
Research on prediction of user churn in online health community based on user portrait
Technology sharing | gtid that needs to be configured carefully_ mode
How can red star Macalline design cloud upgrade the traditional home furnishing industry in ten minutes to produce film and television level interior design effects
Jzoffer51- reverse pairs in the array (merge sort solution)
Meeting seating and submission for approval of OA project
MySQL-04 存储引擎和数据类型
Basic syntax of MySQL DDL and DML and DQL
Native JS get transform value x y z and rotate rotation angle
Multithreaded completable future usage
[GYCTF2020]FlaskApp
Tianyi cloud web application firewall (edge cloud version) supports the detection and interception of Apache spark shell command injection vulnerabilities
Pytoch learning notes (III) use, modification, training (cpu/gpu) and verification of the model
手持振弦采集仪VH03各种接口使用说明
Red * is added to the input box to indicate mandatory items
[NOIP2003 普及组]栈