Easy AdminLTE integration with Rust and tide-rs web framework
download AdminLTE v3 and copy the necessary files to public folder
cargo build
to install dependencies
cargo run
to run server
Launch browser on http://127.0.0.1:1987
public store public assets: css, javascript, etc
public/admin-lte theme of admin-lte. More information AdminLTE v3
src/models define entities or models that use
src/routes where to manage routing
templates define the html pages. This project uses askama-rs as an engine for rendering templates
Url of href and src should add "/public/xyz" on *.html template, for example, do like this:
<link rel="stylesheet" href="/public/admin-lte/plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="/public/admin-lte/dist/css/adminlte.min.css">
<script src="/public/admin-lte/dist/js/adminlte.min.js"></script>