"export 'Ionic' was not found in '@ionic/vue'
See original GitHub issueBug Report
Ionic version: [x] 4.x
Current behavior: When trying to load the Ionic plugin in a Vue project, I get the following error during the build process:
"export 'Ionic' was not found in '@ionic/vue'
Expected behavior: I expected the instructions in the project README to work.
Steps to reproduce:
- Open an existing Vue.js project
- run
npm install @ionic/vue --save
- add the following to main.js:
...
import Ionic from '@ionic/vue';
Vue.use(Ionic);
...
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
export 'Ionic' was not found in '@ionic/vue' #17607 - GitHub
Expected behavior: I expected the instructions in the project README to work. Steps to reproduce: ... ... import Ionic from '@ionic/vue'; Vue.use( ...
Read more >Ionic Troubleshooting Guide: Common Vue App Development ...
This troubleshooting guide covers some of the more common issues you may run into when developing apps with Ionic Vue. Read to learn...
Read more >Ionic with vuex gives compile error ( Property '$store' does not ...
Found out the answer myself. I didn't wrap my component in the defineComponent function, if i change the script part in Tab1.bue from...
Read more >Quickstart: Ionic Vue - Supabase
Quickstart: Ionic Vue. This example provides the steps to build a basic user management app. It includes: Supabase Database: a Postgres database for...
Read more >Introduction to Ionic Vue - Beginners Guide - Enappd
Learn how to make a basic Ionic Vue application. ... This section is relevant to only those who have been working with Ionic...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah nm. Changing from:
to:
Fixed the error:
Yeah what I posted in https://github.com/ionic-team/ionic/issues/17607#issuecomment-468487636 fixed the error for me. At the time I was using
"@ionic/vue": "0.0.1"
just as a proof of concept for using Vue with Ionic. Since then I see it’s gone to Beta. 👍