当前位置:网站首页>Vant web app installation reference
Vant web app installation reference
2022-07-28 23:15:00 【Moon hazy】
WeChat developer tools , Right click the root directory -》 Open in the external terminal window , Enter the following command
1、npm init
2、npm install --production
3、npm install @vant/weapp -S --production
or npm install vant-weapp -S --production
The last two commands , Just use one , The first one is recommended , In this case, you can directly use the official quotation address ,
example :"usingComponents": { "van-cell": "@vant/weapp/cell/index", "van-cell-group": "@vant/weapp/cell-group/index" }
In the second , The component reference address should become
"usingComponents": { "van-cell": "./miniprogram_npm/vant-weapp//cell/index"}
边栏推荐
- Introduction to address book export without code development platform
- cnpm安装步骤
- 【数据库】
- leetcode101. 对称二叉树
- Target detection notes -yolo
- Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- 安全狗入选《云安全全景图2.0》多个细项
- [physical application] atmospheric absorption loss with matlab code
- The simple neural network model based on full connection layer MLP is changed to the model based on CNN convolutional neural network
- RouYi-Cloud平台 ---项目的启动、登录功能是怎么实现的、怎么样创建新模块
猜你喜欢

Simple es highlight practice

xshell7,xftp7个人免费版官方下载,无需破解,免激活,下载即可使用

Yolov5 improvement 5: improve the feature fusion network panet to bifpn

Hands on Teaching of servlet use (1)

Es personal arrangement of relevant interview questions

There are four ways for Nacos to configure hot updates and multiple ways to read project configuration files, @value, @refreshscope, @nacosconfigurationproperties

The tenth improvement of yolov5: the loss function is improved to Siou

《MySQL数据库进阶实战》读后感(SQL 小虚竹)

Target detection notes - overview and common data sets

LTE cell search process and sch/bch design
随机推荐
Recurrent neural network (RNN)
Kotlin function nesting
Yolov5 improvement 4: add ECA channel attention mechanism
Pgbench benchmark PostgreSQL
c语言进阶篇:指针(三)
Will Qualcomm and MediaTek chips soon be sold, and will they surpass Huawei to become the first in China?
Wheel 7: TCP client
Summary of common formula notes for solving problems in Higher Mathematics
软件测试工具fiddler postman jmeter charlse核心功能总结
Improvement 13 of yolov5: replace backbone network C3 with lightweight network efficientnetv2
Servlet的使用手把手教学(一)
Advanced C language: pointer (2)
WebView whitelist
The Gerrit local code is associated to the remote warehouse
[filter tracking] target tracking based on EKF, TDOA and frequency difference positioning with matlab code
Reading of "robust and communication efficient federated learning from non-i.i.d. data"
A new MPLS note from quigo, which must be read when taking the IE exam ---- quigo of Shangwen network
《Shortening passengers’ travel time A dynamic metro train scheduling approach using deep reinforcem》
Target detection notes fast r-cnn
美国FCC提供16亿美元资助本国运营商移除华为和中兴设备