Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 411 Bytes

1-1.setupDevEnv.md

File metadata and controls

19 lines (15 loc) · 411 Bytes

搭建开发环境

目标:

搭建开发环境,集成Typescript & Jest

mkdir vue-kernel
cd vue-kernel
yarn init
npx tsc --init
yarn add jest -D 
yarn add --dev babel-jest @babel/core @babel/preset-env 
yarn add --dev @babel/preset-typescript
yarn add --dev @types/jest 

参考文档:

【Jest】https://www.jestjs.cn/docs/getting-started