Install ionic scaffolding globally
npm install -g @ionic/cli
Create an app project myApp
for the project name
ionic start myApp tabs --type vue
Project begining
npm run serve
ionic5
And is a Vue3
mix of, here in advance to learn Vue3
the syntax of
the project file name is Ts
now only Js
. We project changed JS
the syntax
used Js
to write the document to change the method
Remove Ts
dependencies
npm uninstall --save typescript @types/jest @typescript-eslint/eslint-plugin @typescript-eslint/parser @vue/cli-plugin-typescript @vue/eslint-config-typescript
router/index.ts
And main.ts
change the ts
file name tojs
From . eslintrc.js
deletion @vue/typescript/recommended
and@typescript-eslint/no-explicit-any: ‘off’
From router/index.js
deletionArray < routerecordraw >
Delete shims-vue. d.ts
file
lang = “ ts”
Delete any script tags that have Vue componentslang = “ ts”
Next, you need to use the document
ionic+vue to build the document
ionic component
ionic icon
The following practice ionic practice code will be put on github