alisayang.github.io-源码

上传者: 42138788 | 上传时间: 2021-03-18 21:15:12 | 文件大小: 43KB | 文件类型: ZIP
TypeScript Next.js示例 这是一个非常简单的项目,显示了Next.js与TypeScript的用法。 自己部署 使用部署示例: 如何使用它? 使用或执行以引导示例: npx create-next-app --example with-typescript with-typescript-app # or yarn create next-app --example with-typescript with-typescript-app 使用将其部署到云()。 笔记 本示例说明如何将TypeScript类型系统集成到Next.js中。由于Next.js即刻支持TypeScript,因此我们要做的就是安装TypeScript。 npm install --save-dev typescript 为了启用TypeScript的功能,我们为React和Node安装类型声明。

文件下载

资源详情

[{"title":"( 22 个子文件 43KB ) alisayang.github.io-源码","children":[{"title":"alisayang.github.io-develop","children":[{"title":"package.json <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"intergrate.yml <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":[{"title":"styles","children":[{"title":"app.scss <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"_reset.scss <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 157.90KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"about.tsx <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"api","children":[{"title":"users","children":[{"title":"index.ts <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"_app.tsx <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"users","children":[{"title":"index.tsx <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"[id].tsx <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.tsx <span style='color:#111;'> 348B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 656B </span>","children":null,"spread":false},{"title":"next-env.d.ts <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"interfaces","children":[{"title":"index.ts <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"components","children":[{"title":"ListItem.tsx <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"Layout.tsx <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"ListDetail.tsx <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"List.tsx <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"sample-data.ts <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明