Open soap opened 2 years ago
I have the same issue. Was anybody able to fix this issue?
I also have the same issue.
Hi everybody, I've unsuccessfully tried to upgrade the package to Vue3. I don't have too much free time these days so I can't promise anything. Any PRs are welcome.
Not sure if fully functional (copied from another nova package)
"repositories": {
"nova-sluggable": {
"type": "vcs",
"url": "https://github.com/TheNerka/nova-sluggable"
}
}
composer require drobee/nova-sluggable:master
@TheNerka Works for me! Thanks!
My composer.json
already has the following section:
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
],
Now when I try and do this I get syntax errors:
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
},
{
"nova-sluggable": {
"type": "vcs",
"url": "https://github.com/TheNerka/nova-sluggable"
}
}
],
Any clues what formatting part of composer.json
I don't understand?
Can anyone confirm this fix actually still works? Thinking maybe it can be merged?
EDIT:
I can confirm it's working with Nova 4.
I simply removed nova-sluggable
to make the array flatter so I don't think that part is needed on my system.
Afterwards it appeared to not work because I had to control F5.
I looked at the code changes, it seems like a straightforward conversion from Vue 2 to Vue 3: https://github.com/drobee/nova-sluggable/compare/master...TheNerka:nova-sluggable:master
Would be super nice to have that code merged because this package is really useful.
composer require drobee/nova-sluggable:master
The command does not work: you have to do :
composer require drobee/nova-sluggable:dev-master
This is built into Nova 4 now:
Slug::make('Slug')->from('Title'),
https://nova.laravel.com/docs/4.0/resources/fields.html#slug-field
Теперь это встроено в Nova 4:
Slug::make('Slug')->from('Title'),
https://nova.laravel.com/docs/4.0/resources/fields.html#slug-field
Does this work for you? I can't get autocomplete for the slug using ->from('title')
any update about this issue ?
any update about this issue
Try my fork
After upgrade from Nova 3 to Nova 4, sluggable filed did not show. It was not displayed on all views. Any suggestion?
PHP 8.0.12 on Windows 10 (Development Environment) Laravel 9.13.0