<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="manifest" content="version.json" />
<meta content="email=no" name="format-detection" />
<meta content="telephone=no" name="format-detection" />
<title></title>
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.1.0/css/bootstrap.css" rel="stylesheet" />
<link href="https://cdn.bootcdn.net/ajax/libs/bootstrap-select/1.14.0-beta2/css/bootstrap-select.css" rel="stylesheet" />
</head>
<body>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/bootstrap-select/1.14.0-beta2/js/bootstrap-select.js"></script>
<script src="src/index.js"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="manifest" content="version.json" />
<meta content="email=no" name="format-detection" />
<meta content="telephone=no" name="format-detection" />
<title></title>
</head>
<body>
<div class="alert alert-warning alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
</div>
<script data-main="js/config.js" src="assets/lib/require/require.min.js" type="text/javascript"></script>
</body>
</html>
require.config({
baseUrl: 'js',
map: {
'*': {
css: 'require/css',
},
},
paths: {
jquery: 'jquery',
bootstrap: 'bootstrap/bootstrap.min',
'bootstrap-table': 'bootstrap-table',
},
shim: {
bootstrap: {
deps: ['jquery', 'css!../css/bootstrap.min'],
},
'bootstrap-table': {
deps: ['jquery', 'css!../css/bootstrap-table'],
exports: 'bootstrap-table',
},
},
waitSeconds: 50,
});
requirejs(['jquery', 'bootstrap'], function ($, bootstrap) {});
npm init
npm install --save-dev webpack webpack-cli
npm install --save-dev @babel/core babel-loader
npm install --save-dev html-webpack-plugin clean-webpack-plugin
npm install --save-dev @babel/preset-env core-js regenerator-runtime
npm install --save-dev @babel/preset-typescript
npm install --save-dev @babel/preset-react
npm install --save-dev style-loader css-loader
npm install --save-dev less less-loader
npm install --save-dev url-loader
npm install --save-dev copy-webpack-plugin
npm install --save-dev webpack-dev-server
npm install --save-dev mini-css-extract-plugin