当前位置:网站首页>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 !!!
边栏推荐
- Upload pictures to get width and height
- php使用sqlserver
- Plato Farm有望通过Elephant Swap,进一步向外拓展生态
- 基于双层主题模型的技术演化分析框架及其应用
- Pytoch learning notes (I) installation and use of common functions
- Docker swarm cluster builds highly available MySQL active and standby
- [NOIP2003 普及组]栈
- uni-app从创建到运行到微信开发者工具
- Meeting seating and submission for approval of OA project
- Why does WPS refuse advertising?
猜你喜欢

Pytoch learning notes (III) use, modification, training (cpu/gpu) and verification of the model

Leetcode question type priority queue (TOPK question)

Multi task text classification model based on tag embedded attention mechanism

初识Opencv4.X----图像透视变换

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

Meeting seating and submission for approval of OA project

Plato Farm有望通过Elephant Swap,进一步向外拓展生态

Add a display horizontal line between idea methods

DP sword finger offer II 100. sum of minimum paths in triangle

OA项目之会议排座和送审
随机推荐
~6. ccf 2021-09-1 数组推导
[paper reading] raw+:a two view graph propagation method with word coupling for readability assessment
Basic knowledge about memory chips
数据泄漏、删除事件频发,企业应如何构建安全防线?
Videojs to canvas pause, play, switch video
I. creation and constraint of MySQL table
Pytoch learning notes (II) the use of neural networks
作业7.25 排序与查找
Docker swarm cluster builds highly available MySQL active and standby
Disease knowledge discovery based on spo semantic triples
gdb常用命令
Technology evolution analysis framework based on two-level topic model and its application
基于标签嵌入注意力机制的多任务文本分类模型
TDSQL-C Serverless:助力初创企业实现降本增效
图书下载 | 2022年《终身监督学习导论》Meta AI、CMU等学者合著,171页PDF
Mobile dual finger scaling event (native), e.originalevent.touches
Convert the array in JSON file to struct
Subscription and publication of messages
Difference between base addressing and index addressing
Multithreaded completable future usage