private void ConfigureControls(DotvvmConfiguration config, string applicationPath)
        {
            var dotvvmBootstrapOptions = DotvvmBootstrapOptions.CreateDefaultSettings();

            dotvvmBootstrapOptions.JQueryResource = new ScriptResource()
            {
                Location = new UrlResourceLocation("~/jquery-3.4.1.min.js")
            };
            config.AddBootstrap4Configuration(dotvvmBootstrapOptions);
            config.AddContribFAIconConfiguration();
            config.AddContribGoogleMapConfiguration();
        }
 public void Configure(DotvvmConfiguration config, string applicationPath)
 {
     config.AddBootstrap4Configuration();
     RegisterRoutes(config);
     RegisterResources(config);
 }
示例#3
0
 public void Configure(DotvvmConfiguration config, string applicationPath)
 {
     config.AddBootstrap4Configuration();
     config.RouteTable.AutoDiscoverRoutes(new WebRouteStrategy(config));
 }