Created
December 15, 2017 05:57
-
-
Save hach-que/fea8797a656baf62b2453f004b0169fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using Webpack | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
@await Html.WebpackStylesAsync("page-common") | |
@RenderSection("styles", required: false) | |
</head> | |
<body> | |
<!-- content including call to RenderBody in here --> | |
@await Html.WebpackScriptsAsync("page-default") | |
@RenderSection("scripts", required: false) | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make sure you actually place common.css in the "css" folder | |
// and not next to this TypeScript file when reading the example. | |
// This path is relative to this file, so in reality you can include | |
// CSS resources from anywhere (including files in node_modules). | |
import '../../css/common.css'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment