Hello,
I’m new on five M community and I would like to know why my bootstrap isn’t working.
I have in __resource.lua
ui_page "html/index.html"
client_script "main.lua"
files {
"html/index.html",
"html/style.css",
"html/css/bootstrap-grid.min.css",
"html/css/bootstrap-reboot.min.css",
"html/css/bootstrap.min.css",
"html/js/bootstrap.bundle.min.js",
"html/js/bootstrap.min.js"
}
and on my index.html
file i have this, I deleted some parts of html just to make the thing more clear
<link rel="stylesheet" href="./css/bootstrap-grid.min.css" type="text/css">
<link rel="stylesheet" href="./css/bootstrap-reboot.min.css" type="text/css">
<link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css">
<script src="./js/bootstrap.bundle.min.js" type="text/javascript"></script>
<script src="./js/bootstrap.min.js" type="text/javascript"></script>
<div id="container">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">@</span>
</div>
<input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
</div>
</div>
My input :
Expected (bootstrap example):
Thanks for your help