Ejemplo n.º 1
0
        /// <summary>
        /// Registers the product bundles.
        /// </summary>
        /// <param name="bundles">The bundles.</param>
        public static void RegisterProductBundles(BundleCollection bundles)
        {
            bundles.AddAndInclude(
                "~/bundles/style/product",
                "~/Src/App/Product/Styles/product.less"
                );

            bundles.Add(new ScriptBundle("~/bundles/script/product").Include(
                            "~/Src/App/Product/Scripts/ProductService.js",
                            "~/Src/App/Product/Scripts/ProductController.js"
                            ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Registers the common bundles.
        /// </summary>
        /// <param name="bundles">The bundles.</param>
        public static void RegisterCommonBundles(BundleCollection bundles)
        {
            bundles.AddAndInclude(
                "~/bundles/style/main",
                "~/Src/Content/Bootstrap/css/bootstrap.css",
                "~/Src/Content/Bootstrap/css/bootstrap-theme.css",
                "~/Src/Content/font-awesome/css/font-awesome.css"
                );

            bundles.Add(new ScriptBundle("~/bundles/vendor").Include(
                            "~/Src/Scripts/angularjs/angular.js",
                            "~/Src/Scripts/ui-bootstrap/ui-bootstrap-tpls-0.12.1.js",
                            "~/Src/Scripts/angularjs/angular-resource.js",
                            "~/Src/Scripts/angularjs/angular-route.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/script/main").Include(
                            "~/Src/Scripts/dgdademo.ajax.js",
                            "~/Src/App/app.js"
                            ));
        }