How i can insert a premium theme in blazor app RRS feed

  • Question

  • User433211055 posted

    it is possible to integrate a premium theme into a blazor project considering that these types of themes have a lot of Javascript and jquery.

    the premium theme that I would like to integrate and based on bootstrap

    Like this https://themes.getbootstrap.com/

    Thursday, April 16, 2020 9:54 PM

All replies

  • User-821857111 posted

    The standard Blazor template uses Bootstrap. Some themes replace the original bootstrap, but good ones add to it. Depending on which type you choose, you will either replace the existing bootstrap files with your theme files, or you will add the theme files to the existing styles and scripts. If you are paying for a theme, they should provide instructions on how to install them. It makes no difference whether you are working with Blazor, PHP or standard HTML. It's just referencing script and style files in a web app.

    Friday, April 17, 2020 6:51 AM
  • User433211055 posted
    Hi, Thanks for reply

    But the script of the theme work in blazor? Or I have do use the interop js of blazor?
    For example the open/close of a div that use a javascript work in blazor?

    Saturday, April 18, 2020 9:49 PM
  • User-821857111 posted

    If you want to use the custom scripts in Bootstrap, you will have to use JS Interop. 

    Sunday, April 19, 2020 4:53 PM
  • User433211055 posted

    Thanks, I'll try 

    Monday, April 20, 2020 5:10 PM