// For more information about this class, visit https://dotvvm.com/docs/tutorials/basics-project-structure public void Configure(DotvvmConfiguration config, string applicationPath) { ConfigureRoutes(config, applicationPath); ConfigureControls(config, applicationPath); ConfigureResources(config, applicationPath); config.AddBootstrapConfiguration(); }
// For more information about this class, visit https://dotvvm.com/docs/tutorials/basics-project-structure public void Configure(DotvvmConfiguration config, string applicationPath) { config.AddBootstrapConfiguration(new DotvvmBootstrapOptions { BootstrapCssUrl = "~/lib/bootstrap/dist/css/bootstrap.min.css", BootstrapJsUrl = "~/lib/bootstrap/dist/js/bootstrap.min.js" }); ConfigureRoutes(config, applicationPath); ConfigureControls(config, applicationPath); ConfigureResources(config, applicationPath); }
public void Configure(DotvvmConfiguration config, string applicationPath) { config.AddBootstrapConfiguration(); config.RouteTable.Add("MyRoute", "myRoute/{Id}", "Views/page.dothtml"); }