You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running composer require mattrothenberg/location i get Can't locate path: <.../vendor/mattrothenberg/location/src/../dist/js/location.js> which results in a Component location-fieldtype does not exist. in the back-end.
Environment
Statamic 3.0.1 Pro Laravel 7.26.0 PHP 7.4.9 mattrothenberg/location 1.0
The text was updated successfully, but these errors were encountered:
Problem appears to be that there is no "dist" directory compiled. I fixed the problem by changing to the appropriate vendor directory and running yarn install followed by npm run dev
To run it, I had to update dependences in package.json (laravel-mix -> ^6.0.49, vue-template-compiler -> ^2.6.14)
And had to change webpack.mix.js (add .vue() to string -> mix.js('resources/js/location.js', 'dist/js').vue(); )
Bug Description
After running
composer require mattrothenberg/location
i getCan't locate path: <.../vendor/mattrothenberg/location/src/../dist/js/location.js>
which results in aComponent location-fieldtype does not exist.
in the back-end.Environment
Statamic 3.0.1 Pro
Laravel 7.26.0
PHP 7.4.9
mattrothenberg/location 1.0
The text was updated successfully, but these errors were encountered: