Skip to content

Commit a41441a

Browse files
Remove TypeScript dependencies: tsconfig.json file
1 parent d147060 commit a41441a

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

docs/vue/quickstart.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ So, if you’d prefer to use JavaScript instead of TypeScript, you can. After ge
4848
npm uninstall --save typescript @types/jest @typescript-eslint/eslint-plugin @typescript-eslint/parser @vue/cli-plugin-typescript @vue/eslint-config-typescript
4949
```
5050

51-
2. Change all `.ts` files to `.js`. In a blank Ionic Vue app, this should only be `router/index.ts` and `main.ts`.
51+
2. Change all `.ts` files to `.js`. In a blank Ionic Vue app, this should only be `src/router/index.ts` and `src/main.ts`.
5252

5353
3. Remove `@vue/typescript/recommended` and `@typescript-eslint/no-explicit-any: ‘off’, `from `.eslintrc.js`.
5454

55-
4. Remove `Array<RouteRecordRaw>` from `router/index.js`.
55+
4. Remove `Array<RouteRecordRaw>` from `src/router/index.js`.
5656

57-
5. Delete the `shims-vue.d.ts` file.
57+
5. Delete the `src/shims-vue.d.ts` file.
5858

59-
6. Remove `lang="ts"` from the `script` tags in any of your Vue components that have them. In a blank Ionic Vue app, this should only be `App.vue` and `views/Home.vue`.
59+
6. Remove `lang="ts"` from the `script` tags in any of your Vue components that have them. In a blank Ionic Vue app, this should only be `src/App.vue` and `src/views/Home.vue`.
60+
61+
7. Delete the `tsconfig.json` file.
6062

6163
## A look at a Vue Component
6264

versioned_docs/version-v5/vue/quickstart.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@ So, if you’d prefer to use JavaScript instead of TypeScript, you can. After ge
4141
npm uninstall --save typescript @types/jest @typescript-eslint/eslint-plugin @typescript-eslint/parser @vue/cli-plugin-typescript @vue/eslint-config-typescript
4242
```
4343

44-
2. Change all `.ts` files to `.js`. In a blank Ionic Vue app, this should only be `router/index.ts` and `main.ts`.
44+
2. Change all `.ts` files to `.js`. In a blank Ionic Vue app, this should only be `src/router/index.ts` and `src/main.ts`.
4545

4646
3. Remove `@vue/typescript/recommended` and `@typescript-eslint/no-explicit-any: ‘off’, `from `.eslintrc.js`.
4747

48-
4. Remove `Array<RouteRecordRaw>` from `router/index.js`.
48+
4. Remove `Array<RouteRecordRaw>` from `src/router/index.js`.
4949

50-
5. Delete the `shims-vue.d.ts` file.
50+
5. Delete the `src/shims-vue.d.ts` file.
5151

52-
6. Remove `lang="ts"` from the `script` tags in any of your Vue components that have them. In a blank Ionic Vue app, this should only be `App.vue` and `views/Home.vue`.
52+
6. Remove `lang="ts"` from the `script` tags in any of your Vue components that have them. In a blank Ionic Vue app, this should only be `src/App.vue` and `src/views/Home.vue`.
53+
54+
7. Delete the `tsconfig.json` file.
5355

5456
## A look at a Vue Component
5557

0 commit comments

Comments
 (0)