forked from thecodercoder/frontend-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove /dist from gitignore and show all generated files
- Loading branch information
Showing
10 changed files
with
443 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
node_modules/ | ||
dist/ | ||
node_modules/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,352 @@ | ||
/*! | ||
* Bootstrap Reboot v4.5.0 (https://getbootstrap.com/) | ||
* Copyright 2011-2020 The Bootstrap Authors | ||
* Copyright 2011-2020 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) | ||
*/ | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
html { | ||
font-family: sans-serif; | ||
line-height: 1.15; | ||
-webkit-text-size-adjust: 100%; | ||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
} | ||
|
||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { | ||
display: block; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | ||
font-size: 1rem; | ||
font-weight: 400; | ||
line-height: 1.5; | ||
color: #212529; | ||
text-align: left; | ||
background-color: #fff; | ||
} | ||
|
||
[tabindex="-1"]:focus:not(:focus-visible) { | ||
outline: 0 !important; | ||
} | ||
|
||
hr { | ||
box-sizing: content-box; | ||
height: 0; | ||
overflow: visible; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
margin-top: 0; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
p { | ||
margin-top: 0; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
abbr[title], | ||
abbr[data-original-title] { | ||
text-decoration: underline; | ||
-webkit-text-decoration: underline dotted; | ||
text-decoration: underline dotted; | ||
cursor: help; | ||
border-bottom: 0; | ||
-webkit-text-decoration-skip-ink: none; | ||
text-decoration-skip-ink: none; | ||
} | ||
|
||
address { | ||
margin-bottom: 1rem; | ||
font-style: normal; | ||
line-height: inherit; | ||
} | ||
|
||
ol, | ||
ul, | ||
dl { | ||
margin-top: 0; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
ol ol, | ||
ul ul, | ||
ol ul, | ||
ul ol { | ||
margin-bottom: 0; | ||
} | ||
|
||
dt { | ||
font-weight: 700; | ||
} | ||
|
||
dd { | ||
margin-bottom: .5rem; | ||
margin-left: 0; | ||
} | ||
|
||
blockquote { | ||
margin: 0 0 1rem; | ||
} | ||
|
||
b, | ||
strong { | ||
font-weight: bolder; | ||
} | ||
|
||
small { | ||
font-size: 80%; | ||
} | ||
|
||
sub, | ||
sup { | ||
position: relative; | ||
font-size: 75%; | ||
line-height: 0; | ||
vertical-align: baseline; | ||
} | ||
|
||
sub { | ||
bottom: -.25em; | ||
} | ||
|
||
sup { | ||
top: -.5em; | ||
} | ||
|
||
a { | ||
color: #007bff; | ||
text-decoration: none; | ||
background-color: transparent; | ||
} | ||
|
||
a:hover { | ||
color: #0056b3; | ||
text-decoration: underline; | ||
} | ||
|
||
a:not([href]) { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
a:not([href]):hover { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
pre, | ||
code, | ||
kbd, | ||
samp { | ||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; | ||
font-size: 1em; | ||
} | ||
|
||
pre { | ||
margin-top: 0; | ||
margin-bottom: 1rem; | ||
overflow: auto; | ||
-ms-overflow-style: scrollbar; | ||
} | ||
|
||
figure { | ||
margin: 0 0 1rem; | ||
} | ||
|
||
img { | ||
vertical-align: middle; | ||
border-style: none; | ||
} | ||
|
||
svg { | ||
overflow: hidden; | ||
vertical-align: middle; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
caption { | ||
padding-top: 0.75rem; | ||
padding-bottom: 0.75rem; | ||
color: #6c757d; | ||
text-align: left; | ||
caption-side: bottom; | ||
} | ||
|
||
th { | ||
text-align: inherit; | ||
} | ||
|
||
label { | ||
display: inline-block; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
button { | ||
border-radius: 0; | ||
} | ||
|
||
button:focus { | ||
outline: 1px dotted; | ||
outline: 5px auto -webkit-focus-ring-color; | ||
} | ||
|
||
input, | ||
button, | ||
select, | ||
optgroup, | ||
textarea { | ||
margin: 0; | ||
font-family: inherit; | ||
font-size: inherit; | ||
line-height: inherit; | ||
} | ||
|
||
button, | ||
input { | ||
overflow: visible; | ||
} | ||
|
||
button, | ||
select { | ||
text-transform: none; | ||
} | ||
|
||
[role="button"] { | ||
cursor: pointer; | ||
} | ||
|
||
select { | ||
word-wrap: normal; | ||
} | ||
|
||
button, | ||
[type="button"], | ||
[type="reset"], | ||
[type="submit"] { | ||
-webkit-appearance: button; | ||
} | ||
|
||
button:not(:disabled), | ||
[type="button"]:not(:disabled), | ||
[type="reset"]:not(:disabled), | ||
[type="submit"]:not(:disabled) { | ||
cursor: pointer; | ||
} | ||
|
||
button::-moz-focus-inner, | ||
[type="button"]::-moz-focus-inner, | ||
[type="reset"]::-moz-focus-inner, | ||
[type="submit"]::-moz-focus-inner { | ||
padding: 0; | ||
border-style: none; | ||
} | ||
|
||
input[type="radio"], | ||
input[type="checkbox"] { | ||
box-sizing: border-box; | ||
padding: 0; | ||
} | ||
|
||
textarea { | ||
overflow: auto; | ||
resize: vertical; | ||
} | ||
|
||
fieldset { | ||
min-width: 0; | ||
padding: 0; | ||
margin: 0; | ||
border: 0; | ||
} | ||
|
||
legend { | ||
display: block; | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 0; | ||
margin-bottom: .5rem; | ||
font-size: 1.5rem; | ||
line-height: inherit; | ||
color: inherit; | ||
white-space: normal; | ||
} | ||
|
||
progress { | ||
vertical-align: baseline; | ||
} | ||
|
||
[type="number"]::-webkit-inner-spin-button, | ||
[type="number"]::-webkit-outer-spin-button { | ||
height: auto; | ||
} | ||
|
||
[type="search"] { | ||
outline-offset: -2px; | ||
-webkit-appearance: none; | ||
} | ||
|
||
[type="search"]::-webkit-search-decoration { | ||
-webkit-appearance: none; | ||
} | ||
|
||
::-webkit-file-upload-button { | ||
font: inherit; | ||
-webkit-appearance: button; | ||
} | ||
|
||
output { | ||
display: inline-block; | ||
} | ||
|
||
summary { | ||
display: list-item; | ||
cursor: pointer; | ||
} | ||
|
||
template { | ||
display: none; | ||
} | ||
|
||
[hidden] { | ||
display: none !important; | ||
} | ||
body { | ||
background-color: #f0f0f0; | ||
color: #222; | ||
} | ||
|
||
main { | ||
padding: 15px; | ||
max-width: 800px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
input::-moz-placeholder { | ||
color: #888; | ||
} | ||
|
||
input:-ms-input-placeholder { | ||
color: #888; | ||
} | ||
|
||
input::placeholder { | ||
color: #888; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use strict"; | ||
|
||
console.log("Load script.js"); // Instantiating the global app object | ||
|
||
var app = {}; | ||
"use strict"; | ||
|
||
// Global | ||
app.global = { | ||
init: function init() { | ||
// Load all global functions here | ||
console.log("load global functions"); | ||
app.global.loadHeader(); | ||
}, | ||
loadHeader: function loadHeader() { | ||
// Some specific function | ||
console.log("loadHeader()"); | ||
} | ||
}; // Run the global stuff | ||
|
||
app.global.init(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.