How to npm install jquery-ui and import it as a ESM?

We can use jquery-ui-bundle:
npm install jquery-ui-bundle --save


Then import:
import 'jquery-ui-bundle';
import 'jquery-ui-bundle/jquery-ui.css';

评论

此博客中的热门博文

Openwrt路由器上配置shadowsocks透明代理+gfwlist(PAC)

Configure shadowsocks transparent proxy + gfwlist(PAC) on OpenWRT Router

Using Haproxy + shadowsocks (ha + ss) to setup multi ss backend and load balance