Skip to content
Discussion options

You must be logged in to vote

There is an alternative way, you can first alias the nova resource js directory on your nova.mix.js like this:

webpackConfig.resolve.alias = {
    //...
    '@': path.resolve(__dirname, '../../vendor/laravel/nova/resources/js/'),
}

then on your vue components you can import it like this:

import { useActions } from '@/composables/useActions'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andypooletrioteca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants