Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Ionic cli vue and ts integration problems

$
0
0

Hi. I am trying to setup the ionic cli to be able to serve my existing project and I have run into an issue but I am able to serve it with no problems with Vite.

Here is what I did.
in the project directory

ionic init
npm install @vue/cli-service
vue add typescript
ionic serve

and then I get
[vue-cli-service] error in ./src/views/ttt.vue?vue&type=script&setup=true&lang=ts
[vue-cli-service] Syntax Error: TypeError: Cannot read properties of null (reading ‘content’)

I have tried quite a few other configurations and suggestions from similar issues posted online as well with similar results but I can not find any clear instructions on how to set up ionic in an existing project as I am doing. Any ideas about this one?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles