@{
    IgnoreSection("jsLib");
    IgnoreSection("jsPage");
    IgnoreBody();
}
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="idPage" content="@ViewData["PageID"]" />
    <title>@ViewData["Title"] - ERP ATG System </title>
@*     <link rel="icon" type="image/x-icon" href="@Url.AbsoluteContent("~/images/logo/logo-ico.png")" />
 *@    <link rel="preload" as="script" href="@Url.AbsoluteContent("~/js/libs/js-core.js")">
    <link rel="preload" as="style" href="@Url.AbsoluteContent("~/css/atg-lib/atg-core.css")" />
</head>
<body class="hp">
    <section data-scrollbar class="main-scrollbar">
        <div class="loading"></div>
        <div class="main-wrapper" app-content>
            <div class="main-container">
                <header id="header">

                </header>
                <main main-content>

                </main>
                <footer id="footer">
                </footer>
            </div>
        </div>
        <footer>
        </footer>
    </section>

    <script src="@Url.AbsoluteContent("~/js/libs/js-core.js")"></script>
    <section app-js-lib>
        <script src="@Url.AbsoluteContent("~/js/ext_libs/js-scrollbar.js")" js-lib async></script>
    </section>
    <section app-js-page>
    </section>
    <script>
        window.requestTimeout(() => {
            window.app = new AApp('[app-content] > .main-container');
            (function () {
                window.app.renderNoLayout();
            })();
            (function () {
                window.app.renderLayout();
            })();
            (function () {
                var asyncStyleSheets = [
                    '@Url.AbsoluteContent("~/css/atg-lib/atg-core.css")',
                    '@Url.AbsoluteContent("~/css/atg-font/atg-font.css")',
                    '@Url.AbsoluteContent("~/css/site.css")'
                ];
                window.app.loadCSS(asyncStyleSheets);
            })();

        }, 5, window.registerCancel);
    </script>
</body>
</html>

