# ts-2d-3d-tutorial **Repository Path**: fandeng/ts-2d-3d-tutorial ## Basic Information - **Project Name**: ts-2d-3d-tutorial - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-02-27 - **Last Updated**: 2023-02-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## typescript的2d和3d渲染 [typescript图形渲染与实现:2d](http://product.china-pub.com/232356) [仓库](https://gitee.com/zmwcodediy/ts-2d-3d-tutorial) ## 安装基础库 ``` npm init -y npm i --save-dev webpack webpack-cli npm i --save-dev typescript ts-loader npm i --save-dev webpack-dev-server ``` ## tsconfig ``` npx tsc --init ``` ## webpack.config.js ### 编译参数 - entry 入口文件 - module 编译模块 - output 输出文件 - mode 运行模式 ### 运行参数 - devServer ``` { static: "./dist" } ```