Module '"@inertiajs/inertia-vue3"' has no exported member 'createInertiaApp'.
See original GitHub issueVersions:
@inertiajs/inertia
version: 0.9.2@inertiajs/inertia-vue3
version: 0.4.7
Describe the problem:
Typescript error: Module ‘“@inertiajs/inertia-vue3”’ has no exported member ‘createInertiaApp’.
Steps to reproduce:
Create app.ts and import createInertiaApp from @inertiajs/inertia-vue3
import { createInertiaApp, usePage } from "@inertiajs/inertia-vue3"
createInertiaApp({
...
})
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Vue / Typescript, got Module '"*.vue"' has no exported member
I have to do this every time I created a import or export anything with TS. Share.
Read more >inertia-vue3@0.4.1
This release adds a new createInertiaApp() setup method to make configuring Inertia easier (#698). Here's how to use it: Before:
Read more >Laracasts Forum
Axios not handling XSRF token - Vue Laravel Sanctum ... Module '"vue-filepond"' has no exported member 'setOptions'. Did you mean to use 'import...
Read more >Laravel+InertiaJS+Svelte+Bootstrap Auth: Step By ... - Medium
InertiaJS has support to it, so i started a little paid membership project area with ... import { createInertiaApp } from '@inertiajs/inertia-svelte'
Read more >Laravel, Vue and Inertia with Vite - THEPUBLICGOOD Blog
Not only has it helped me become a better programmer, but it's now ... yarn add @inertiajs/inertia @inertiajs/inertia-vue3 vue@next vite ...
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 Free
Top 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
These have been released as
@inertiajs/inertia-vue@0.7.0
and@inertiajs/inertia-vue3@0.5.0
. However, please note that these are breaking releases, since we removed the automatic registration of the Inertia link and head components (see here). That PR explains how to manually register those components globally, if you do want to upgrade to these latest versions. 👍@Giesch Yup, we don’t maintain any of the type files in the adapters. We’re hoping to eventually convert the adapters to TS proper.