🔥 Remove minimal crate for PageTop integration
This commit is contained in:
parent
156429beb0
commit
7e21ddbf90
42 changed files with 0 additions and 5430 deletions
|
|
@ -15,7 +15,6 @@ license = "Apache-2.0 OR MIT"
|
|||
|
||||
[dependencies]
|
||||
pagetop = { version = "0.0", path = "../pagetop" }
|
||||
pagetop-minimal = { version = "0.0", path = "../pagetop-minimal" }
|
||||
static-files = "0.2.3"
|
||||
|
||||
[build-dependencies]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
use pagetop_minimal::component::*;
|
||||
use pagetop_minimal::BreakPoint;
|
||||
|
||||
new_handle!(MODULE_HOMEDEMO);
|
||||
|
||||
static_locales!(LOCALES_HOMEDEMO);
|
||||
|
|
@ -24,10 +21,6 @@ impl ModuleTrait for HomeDemo {
|
|||
L10n::t("module_description", &LOCALES_HOMEDEMO)
|
||||
}
|
||||
|
||||
fn dependencies(&self) -> Vec<ModuleRef> {
|
||||
vec![&pagetop_minimal::Minimal]
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
static_files_service!(scfg, "/homedemo", homedemo);
|
||||
scfg.route("/", service::web::get().to(demo));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue