问题描述
我目前正在制作一个需要JavaScript库 typed.js 的项目,但我还使用免费的Webhost 000webhost ,该虚拟主机不允许使用Node.js.但是,typed.js是使用Yarn,NPM或Bower安装的,据我所知需要Node.js.
因此,我想知道如何安装typed.js或拥有对JavaScript不太了解的人易于使用的替代方法.
谢谢.
I am currently making a project that needs the JavaScript library typed.js but am also using the free webhost 000webhost which does not allow the use of Node.js. However, typed.js is installed using Yarn, NPM, or Bower, which to my knowledge needs Node.js.
Because of this, I would like to know how to install typed.js or have an alternative that is easy-to-use for someone who doesn't know much JavaScript.
Thanks.
推荐答案
是的,很简单,以zip
格式下载库,转到/lib/
并找到typed.min.js
.
Yeah its easy, download the library in zip
format, goto /lib/
and find typed.min.js
.
将此文件作为普通的javascript文件包含在您的html中
include this file as normal javascript file in your html
<script src="typed.min.js"></script>
享受!所有功能. :)
Enjoy! all the functionalities. :)
这篇关于没有Node.js的Typed.js安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!