扫码关注官方订阅号
我在node_modules已经安装了jqyery和marked等模块,现在我想我创建了一个html文件,我想在此文件中引入这些模块,怎么引用。
node_modules
jqyery
marked
html
欢迎选择我的课程,让我们一起见证您的进步~~
简单引用,直接看路径。
如果你的index.html写在根目录,可以这么写:<script arc="node_modules/jquery/****"
<script arc="node_modules/jquery/****"
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
简单引用,直接看路径。
如果你的index.html写在根目录,可以这么写:
<script arc="node_modules/jquery/****"