initial commit

This commit is contained in:
2022-11-07 13:09:12 +01:00
commit 5d4a5d95a8
8 changed files with 5743 additions and 0 deletions

19
app/package.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "bimbam",
"version": "0.0.1",
"author": "Champs-Libres",
"description": "",
"dependencies": {
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.2"
},
"devDependencies": {
"parcel-bundler": "^1.12.5",
"sass": "^1.56.0"
},
"scripts": {
"prebuild": "npx rimraf build",
"build": "parcel build --public-url ./ ./src/index.html --experimental-scope-hoisting --out-dir build",
"dev": "parcel --port 8080 --hmr-port 8081 ./src/index.html"
}
}

10
app/scss/custom.scss Normal file
View File

@@ -0,0 +1,10 @@
div.coucou {
margin: 1em;
padding: 2em;
background-color: cyan;
span {
padding: 1em;
background-color: yellow;
}
}

22
app/src/index.html Normal file
View File

@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../scss/custom.scss">
</head>
<body>
<button type="button" name="button" class="btn btn-primary btn-lg">
hello marcelo
</button>
<div class="coucou">
<h2>Bim</h2>
<p>bam</p>
<span>boum</span>
</div>
<script src="./index.js"></script>
</body>
</html>

8
app/src/index.js Normal file
View File

@@ -0,0 +1,8 @@
// Import all plugins
import * as bootstrap from 'bootstrap';
// Or import only needed plugins
//import { Tooltip as Tooltip, Toast as Toast, Popover as Popover } from 'bootstrap';
// Or import just one
//import Alert as Alert from '../node_modules/bootstrap/js/dist/alert';

5625
app/yarn.lock Normal file

File diff suppressed because it is too large Load Diff