skip to Main Content

Vue component not rendering in Laravel Blade

I have a Vue Component, that is simple like this: <template> <h1>Teste</h1> </template> <script> export default { mounted() { console.log("Component mounted."); }, }; </script> my app.js: require("./bootstrap"); import { createApp } from "vue"; import ExampleComponent from "./components/ExampleComponent"; const app =…

VIEW QUESTION

Laravel json column show in view

I have a json column called additional_info. I want to be able to return the data held there with foreach as follows. <a href="additional_info->Addslack->slack"><i class="additional_info->Addslack->icon"></i> additional_info->Addslack->title </a> <a href="additional_info->Addgithub->github"><i class="additional_info->Addgithub->icon"></i> additional_info->Addgithub>title </a> ... like this { ....., "Addphone":{ "icon":"fas fa-phone-alt",…

VIEW QUESTION

Laravel email notification blade component is not rendering properly

My Laravel email notification prints blade component names instead of html element names in the output. Example: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body style="box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',…

VIEW QUESTION
Back To Top
Search