如何在React中使用JS文件
我已经为我的网站下载了一个模板,该模板从我的react组件调用下面的js文件。
!(function($) {
"use strict";
// Hero typed
if ($('.typed').length) {
var typed_strings = $(".typed").data('typed-items');
typed_strings = typed_strings.split(',')
new Typed('.typed', {
strin...