Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

how add custom components liek Calendar to laravel app?


hi,

in settings i add "'assets/js/custom/apps/calendar/calendar.js" but calendar not showing
https://prnt.sc/PW-o4NdReLGJ

result:
https://prnt.sc/nzSvRPWi2Opx

when i add additional js and css it works
https://prnt.sc/4Lr_E-9CQ0Ju

also it works when i clear theme vendors
https://prnt.sc/WdrZKRiLm2xg

result:
https://prnt.sc/U-P3oVbN0DXJ

so question,
what is this for if they not inclooding nothing? # Theme Vendors 'KT_THEME_VENDORS' => [


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Darius Ju,

The KT_THEME_VENDORS list does not include the plugin; it's just a list. To include the plugin, you can enable it in this file:

app/Core/Bootstrap/Demo1/BootstrapDefault.php

Add the following line to include the necessary vendors:

addVendors(["datatables", "fullcalendar"]);

This should ensure that the required JavaScript and CSS files for the calendar are properly included in your Laravel app.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(