当前位置:网站首页>Taro---day2---编译运行
Taro---day2---编译运行
2022-06-27 22:20:00 【代码哈士奇】
选择自己想要的模板
我们调用 taro init -h 可以查看参数的意义
常规使用最基础的方法 如 taro init myApp

根据提示进行即可
框架选择你最喜欢用的 这里我选择react 启用了ts css预处理我用了less 这个按需选择即可

如果网不好 就选择gitee 最新的也未必最好 适合自己的才是最好
可以选择默认模板即可 档案也可以选择其他模板(废话)
不同的应用配置文件不同
目录结构文档
https://taro-docs.jd.com/taro/docs/next/folder

安装完成后 根据不同命令运行到不同平台

如 微信小程序运行 npm run dev:weapp
同样需要在配置文件配置 微信小程序appId

根据提示 将编译生成文件目录 在微信开发者工具打开即可
其它应用类似
边栏推荐
- 供应链高效管理供应商
- Translation (4): matching rules for automatic text completion
- Alchemy (3): how to do a good job in interfacing a business process
- 代码整洁之道--格式
- Introduction to data warehouse
- 数仓的字符截取三胞胎:substrb、substr、substring
- Flutter series: Transformers in flutter
- Leetcode 720. The longest word in the dictionary
- Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
- Recyclerview implements grouping effects in a variety of ways
猜你喜欢
![Software engineering job design (1): [personal project] implements a log view page](/img/95/0c3f0dde16d220ddecb5758a4c31e7.png)
Software engineering job design (1): [personal project] implements a log view page

什么是cookie,以及v-htm的安全性隐患
![Count prime [enumeration - > space for time]](/img/11/c52e1dfce8e35307c848d12ccc6454.png)
Count prime [enumeration - > space for time]

Alchemy (7): how to solve problems? Only reconstruction
![Using two stacks to implement queues [two first in first out is first in first out]](/img/de/07297816f1a44d41389bb45d012c80.png)
Using two stacks to implement queues [two first in first out is first in first out]

Smart wind power | Tupu software digital twin wind turbine equipment, 3D visual intelligent operation and maintenance

Matlb| optimal configuration of microgrid in distribution system based on complex network

Understand the basic structure of wechat applet project

HCIP/HCIE Routing&Switching / Datacom备考宝典系列(十九)PKI知识点全面总结(公钥基础架构)
![[paper reading | deep reading] sdne:structural deep network embedding](/img/6a/b2edf326f6e7ded83deb77219654aa.png)
[paper reading | deep reading] sdne:structural deep network embedding
随机推荐
Summary of wuenda's machine learning course (14)_ Dimensionality reduction
炼金术(6): 可迭代的模型和用例
现代编程语言:Rust (铁锈,一文掌握钢铁是怎样生锈的)
炼金术(3): 怎样做好1个业务流程的接口对接
Efficient supplier management in supply chain
Promise是什么
Code neatness -- function
Translation (4): matching rules for automatic text completion
剑指 Offer 61. 扑克牌中的顺子
#796 Div.2 F. Sanae and Giant Robot set *
云原生运维文章计划
request对象、response对象、session对象
GFS 分布式文件系统概述与部署
Alchemy (4): mental model of programmers
单片机之IIC通信协议「建议收藏」
Modern programming languages: zig
华泰证券在网上开户安全吗?
flutter系列之:flutter中的变形金刚Transform
Request object, response object, session object
SQL reported an unusual error, which confused the new interns