All Questions
6 questions
2
votes
0
answers
217
views
Migrating Custom Components from Vue2 to Vue3 in Laravel Nova: Issues with $watch Property Replacement
I'm currently upgrading a Laravel Nova project from Nova 3 (which uses Vue2) to Nova 4 (which uses Vue3). And for that reason, we had to do some modification in our custom components.
Like, in Vue3 we ...
2
votes
0
answers
1k
views
resolveComponent can only be used in render() or setup()
I'm using laravel nova 4 for creating an admin panel. I'm trying to override a existed nova component. This is what I have done:
Create BelongsToField.vue in resources/js/nova/components/Form, then ...
2
votes
0
answers
361
views
How to change markdown image size in Vue 3/Laravel Nova/CSS?
I am fetching markdown from a database:
const state = reactive({
content: ""
})
axios.get('/legal')
.then(res => {
const data = res.data
...
0
votes
1
answer
692
views
How to store/cache request data from CMS in Vue3?
I've built a primitive Content Management System with Laravel Nova in a Vue3/Laravel8 app. Being the noob I am, I am using axios.get to get image links and markdown from a database and assign it to a ...
1
vote
1
answer
2k
views
How to render Markdown field in Vue3?
I followed the Nova doc and linked a Markdown field to a TEXT database type:
Markdown::make('Content', 'content_text')
I want to render it in the right format on my web app:
but it renders just the ...
1
vote
2
answers
536
views
Stack-Fields not displaying in create/edit page in Laravel Nova
I have this field function inside my Resource:
public function fields(Request $request)
{
return [
ID::make(__('ID'), 'id')->sortable(),
Stack::make('Headings', [
...