当前位置:网站首页>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"}
边栏推荐
- It's settled! All products of Nezha s will be launched on July 31
- Yolov5 improvement 15: network lightweight method deep separable convolution
- LTE cell search process and sch/bch design
- 赋能中国芯创业者!看摩尔精英如何破解中小芯片企业发展难题
- 无代码开发平台管理后台入门教程
- Hbuilderx shortcut key
- Target detection notes -yolo
- 弹框遮罩层「建议收藏」
- A new MPLS note from quigo, which must be read when taking the IE exam ---- quigo of Shangwen network
- Advanced C language: pointer (3)
猜你喜欢
![[3D target detection] 3dssd (II)](/img/8a/e8927cd868eb99d8880d4f199d8918.png)
[3D target detection] 3dssd (II)

Improvement 13 of yolov5: replace backbone network C3 with lightweight network efficientnetv2

Rouyi cloud platform - how to realize the launch and login functions of the project and how to create new modules

Console.log() console display... Solution

Servlet的使用手把手教学(一)

6 个超级良心的开源教程!

Cnpm installation steps

安全狗入选《云安全全景图2.0》多个细项

Thesis reading (3) - googlenet of classification

Yolov5 improvement 5: improve the feature fusion network panet to bifpn
随机推荐
Hands on Teaching of servlet use (1)
Es learning directory
即将获售高通、联发科芯片,荣耀要超越华为做国内第一?
recursion and iteration
leetcode101. 对称二叉树
【物理应用】水下浮动风力涡轮机的尾流诱导动态模拟风场附matlab代码
Recurrent neural network (RNN)
Yolov5 improvement 6: add small target detection layer
There are four ways for Nacos to configure hot updates and multiple ways to read project configuration files, @value, @refreshscope, @nacosconfigurationproperties
The US FCC provided us $1.6 billion to support domestic operators to remove Huawei and ZTE equipment
sql优化常用的几种方法
【复制】互联网术语、简称、缩写
Sqlilabs-1 (breakthrough record)
Advanced C language: pointer (3)
Rouyi cloud platform - how to realize the launch and login functions of the project and how to create new modules
CGLIb 创建代理
The simple neural network model based on full connection layer MLP is changed to the model based on CNN convolutional neural network
HP ProLiant DL380 boot from USB flash drive, press which key
Summary of C language learning content
TypeError: can‘t convert cuda:0 device type tensor to numpy. Use Tensor. cpu() to copy the tensor to