typescript:Preact CLI的TypeScript模板

时间:2021-05-16 07:11:49
【文件属性】:
文件名称:typescript:Preact CLI的TypeScript模板
文件大小:107KB
文件格式:ZIP
更新时间:2021-05-16 07:11:49
typescript preact preact-cli-template TypeScript Preact TypeScript入门项目 文献资料 这是的默认模板的TypeScript版本。 :有关如何使用Preact的常规信息,并非特定于此模板 用法 $ npm install -g preact-cli $ preact create typescript my-project $ cd my-project $ npm install $ npm run dev 开发服务器在端口8080上运行。 如果您的计算机上已经使用了默认端口,它将在随机端口上启动开发服务器。 指令 npm install :安装依赖项 npm run dev :运行开发的HMR服务器 npm run serve :运行类似生产的服务器 npm run build :生产就绪的build npm run lint :使用ESLint传递TypeScript文件 npm run test :运行带有
【文件预览】:
typescript-master
----.gitignore(63B)
----LICENSE(1KB)
----README.md(2KB)
----template()
--------.gitignore(27B)
--------package.json(1KB)
--------src()
--------tsconfig.json(5KB)
--------README.md(566B)
--------tests()

网友评论