Skip to content

Commit 65bd1cb

Browse files
committed
tooling
1 parent 64aa81d commit 65bd1cb

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/guide/scaling-up/tooling.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The Vue browser devtools extension allows you to explore a Vue app's component t
6060

6161
![devtools screenshot](https://raw.githubusercontent.com/vuejs/devtools/main/media/screenshot-shadow.png)
6262

63-
// TODO update links after swapping versions
63+
<!-- TODO update links after swapping versions -->
6464

6565
- [Documentation](https://devtools.vuejs.org/)
6666
- [Chrome Extension](https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg)
@@ -69,23 +69,22 @@ The Vue browser devtools extension allows you to explore a Vue app's component t
6969

7070
## TypeScript
7171

72-
// TODO links and recommendations
72+
Main article: [Using Vue with TypeScript](/guide/scaling-up/typescript).
7373

74-
- `vue-tsc`: Type check Vue SFCs
75-
- `vue-dts-gen`: Generate type declarations from Vue SFCs
74+
- [Volar](https://github.com/johnsoncodehk/volar) provides type checking for SFCs using `<script lang="ts">` blocks, including template expressions and cross-component props validation.
7675

77-
See also: [Using Vue with TypeScript](/guide/scaling-up/typescript).
76+
- Use [`vue-tsc`](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc) for performing the same type checking from the command line, or for generating `d.ts` files for SFCs.
7877

7978
## Testing
8079

80+
Main article: [Testing Guide](/guide/scaling-up/testing).
81+
8182
- If using Vite, we recommend [Cypress](https://www.cypress.io/) as the test runner for both unit and e2e tests. Unit tests for Vue SFCs can be done with the [Cypress Component Test Runner](https://www.cypress.io/blog/2021/04/06/introducing-the-cypress-component-test-runner/).
8283

8384
- Vue CLI comes with [Jest](https://jestjs.io/) and [Mocha](https://mochajs.org/) integrations.
8485

8586
- If you are manually configuring Jest to work with Vue SFCs, check out [vue-jest](https://github.com/vuejs/vue-jest) which is the official Jest transform for Vue SFCs.
8687

87-
See also: [Testing Guide](/guide/scaling-up/testing).
88-
8988
## Linting
9089

9190
The Vue team maintains [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue), an [ESLint](https://eslint.org/) plugin that supports SFC-specific linting rules.
@@ -106,10 +105,6 @@ Users previously using Vue CLI may be used to having linters configured via webp
106105

107106
- Alternatively, [Prettier](https://prettier.io/) provides built-in Vue SFC formatting support.
108107

109-
## Backend Framework Integrations
110-
111-
// TODO
112-
113108
## SFC Custom Block Integrations
114109

115110
Custom blocks are compiled into imports to the same Vue file with different request queries. It is up to the underlying build tool to handle these import requests.
@@ -146,3 +141,5 @@ The official loader that provides Vue SFC support in webpack. If you are using V
146141
- [Vue + Vite on Repl.it](https://replit.com/@templates/VueJS-with-Vite)
147142
- [Vue on CodeSandbox](https://codesandbox.io/s/vue-3)
148143
- [Vue on Codepen](https://codepen.io/pen/editor/vue)
144+
145+
<!-- TODO ## Backend Framework Integrations -->

0 commit comments

Comments
 (0)