Import a Vue js component from Laravel Blade File
问题 I have registered a some components as a global components in js/app.js file, But this makes the compiled app.js file larger. //example: app.js Vue.component('profile-page', require('./components/profiles/ProfilePage.vue').default); The question is: Is there a way to import any of these global component in the laravel-blade file instead of registering it globally in app.js file? something like this: // laravel-blade file <script> import ProfilePage from ...; </script> 回答1: register the