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
#6.6.0 | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"> | |
#5.15.4 | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> | |
#4.7 | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> |
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
{ | |
"name": "webpack", | |
"version": "1.0.0", | |
"main": "index.js", | |
"scripts": { | |
"dev": "webpack-dev-server --mode development --open", | |
"build": "webpack --mode production" | |
}, | |
"license": "MIT", | |
"devDependencies": { |
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
gulpfile.js | |
webpack.config.js | |
all.min.js | |
bundle.js |
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
let path = require('path'); | |
let conf = { | |
entry: './assets/js/main.js', | |
output: { | |
path: path.resolve(__dirname, './assets/js'), | |
filename: 'all.min.js', | |
publicPath: 'assets/js/' | |
}, | |
devServer: {overlay: true}, |
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
Show hidden characters
{ | |
"presets": [ | |
"@babel/preset-env" | |
], | |
"plugins": [ | |
"@babel/plugin-proposal-class-properties" | |
] | |
} |
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
--modules-folder libs |
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
$diff: 0.2px; | |
/* ul */ | |
@mixin ul-min { | |
@media (min-width: $ul) { | |
@content; | |
} | |
} | |
@mixin ul { |
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
$diff: 0.2px; | |
/* xl */ | |
@mixin xl-min { | |
@media (min-width: $xl) { | |
@content; | |
} | |
} | |
@mixin xl { |
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
// Reset margin, padding and list-style from a list. | |
@mixin unlist($m: 0, $p: 0) { | |
margin: $m; | |
padding: $p; | |
list-style: none; | |
} | |
// Single-line text with a three-dot at the end |
NewerOlder