https://github.com/l2060/web-es6-typescript-template
A simple Typescript Web project template
https://github.com/l2060/web-es6-typescript-template
es6 typescript webpack
Last synced: 3 months ago
JSON representation
A simple Typescript Web project template
- Host: GitHub
- URL: https://github.com/l2060/web-es6-typescript-template
- Owner: l2060
- Created: 2020-11-28T12:56:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T06:24:13.000Z (about 5 years ago)
- Last Synced: 2025-10-13T00:56:23.151Z (9 months ago)
- Topics: es6, typescript, webpack
- Language: SCSS
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 运行
* `git clone project`
* `npm i`
* `npm run debug` 启动无缓存Http服务+实时编译
* `npm run build` 启动实时编译项目至dist目录+保存自动编译
---
## 调试(可选)
* VSCode安装Chrome调试插件
搜索插件 `Debugger for Chrome` 并安装
* 默认配置,项目的`.vscode` 目录已增加 `launch.json`
* `F5` 开始调试,可以在VSCode中打断点、查看变量。
---
## 默认配置
* 默认web端口8000,修改端口需修改`webpack.dev.js`+`.vscode/launch.json`文件
## npm包
* axios 调用webapi
* signals(@types/signals) 事件订阅/通知