[TypeScript]入门
2020-04-03 本文已影响0人
飞菲fly
1、创建一个html、ts,ts引入到HTML中无法运行;
2、npx parcel index.html
就能运行了
原理:
1、创建一个html、ts,ts引入到HTML中无法运行;
2、npx parcel index.html 就能运行了
npx parcel index.html
Server running at http://localhost:1234
built in 2.52s.