1 安装yarn npm i yarn -g 2, 安装parcel yarn add --dev parcel@next 3,使用 他会自动将ts 变成 js 它自动编译的js 行,使用就到这里,大家加油