Skip to content

Commit

Permalink
update: kickoff
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhihui committed Jan 17, 2022
1 parent 9547f1a commit 9126ae3
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions docs/docs/common/kickoff.md
Expand Up @@ -311,7 +311,8 @@ node_modules
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": ["javascript", "javascriptreact", "vue", "typescript", "typescriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
}
```
Expand All @@ -325,10 +326,33 @@ node_modules
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@components/*": ["./components/*"],
"@assets/*": ["./assets/*"],
"@common/*": ["./common/*"]
"@/*": ["./src/*"]
}
}
}
```

配置 tsconfig.json

```json
{
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": ["node_modules"],
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
"strict": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
}
}
Expand Down

1 comment on commit 9126ae3

@vercel
Copy link

@vercel vercel bot commented on 9126ae3 Jan 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.