Как я могу ссылаться на ресурсы в файлах .vue при использовании inertion с laravel?

#laravel #vue.js #inertiajs

Вопрос:

Ниже приведены сведения о версии, которую я использую в качестве технологии.

пакет.json

 "devDependencies": {
    "@vue/compiler-sfc": "^3.2.20",
    "axios": "^0.21",
    "laravel-mix": "^6.0.6",
    "lodash": "^4.17.19",
    "postcss": "^8.1.14",
    "resolve-url-loader": "^4.0.0",
    "sass": "~1.32.6",
    "sass-loader": "^8.0.0",
    "vue-loader": "^16.8.1"
},
"dependencies": {
    "@inertiajs/inertia": "^0.10.1",
    "@inertiajs/inertia-vue3": "^0.5.2",
    "@inertiajs/progress": "^0.2.6",
    "vue": "^3.2.20"
}
 

композитор.json

 "require": {
    "php": "^7.3|^8.0",
    "fruitcake/laravel-cors": "^2.0",
    "guzzlehttp/guzzle": "^7.0.1",
    "inertiajs/inertia-laravel": "^0.4.4",
    "laravel/framework": "^8.54",
    "laravel/sanctum": "^2.11",
    "laravel/tinker": "^2.5"
},
"require-dev": {
    "facade/ignition": "^2.5",
    "fakerphp/faker": "^1.9.1",
    "laravel/sail": "^1.0.1",
    "mockery/mockery": "^1.4.4",
    "nunomaduro/collision": "^5.10",
    "phpunit/phpunit": "^9.5.8"
},