I’ve just created a fresh Ionic Vue project using Ionic Start and have opened up the vue UI tool and run the Unit Test task. I get the following error:
SyntaxError: Cannot use import statement outside a module
23 |
24 | <script lang="ts">
> 25 | import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/vue';
| ^
26 | import { defineComponent } from 'vue';
27 |
28 | export default defineComponent({
Can anyone point me in the right direction for fixing this - I was hoping the unit test would pass for a fresh new project
1 post - 1 participant