当前位置:网站首页>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 !!!
边栏推荐
- uni-app从创建到运行到微信开发者工具
- Solve the problem that JUnit of idea console cannot be input with scanner
- Redis learning notes
- Cavans realizes Static Rolling barrage
- Difference between base addressing and index addressing
- 12437 words, take you to explore the principle of RPC communication
- 循环队列(c语言实现)
- 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
- Pytoch learning notes (II) the use of neural networks
- @千行百业,一起乘云而上!
猜你喜欢

~6. ccf 2021-09-1 数组推导

JS download files, filesaver.js export txt and Excel files

OA项目之我的会议

Pytoch learning notes (I) installation and use of common functions

Canvas upload image Base64 with cropping function jcrop.js

Digital collections accelerate the breaking of the circle and help the industry find new opportunities

Basic knowledge about memory chips

Leetcode question type priority queue (TOPK question)

JS page turning, kkpager.js page turning

android安全基础知识学习
随机推荐
404 pages and routing hooks
Sequence traversal of binary tree (implemented in C language)
Code cloud, which officially supports the pages function, can deploy static pages
C语言_结构体指针变量引入
PHP uses sqlserver
基于标签嵌入注意力机制的多任务文本分类模型
Add a display horizontal line between idea methods
Redis learning notes
Zhou Wei: look for non consensual investment opportunities to accompany the founding team that delays satisfaction
【数学建模】常用基本模型总结
Frisbee, 2022 "black red" top stream
C language Snake linked list and pointer practice
Basic knowledge about memory chips
Digital collections accelerate the breaking of the circle and help the industry find new opportunities
POM file details
[paper reading] raw+:a two view graph propagation method with word coupling for readability assessment
With frequent data leakage and deletion events, how should enterprises build a security defense line?
How to quickly design a set of cross end components that support rendering rich text content
@千行百业,一起乘云而上!
Disease knowledge discovery based on spo semantic triples