2024-06-02 22:03:30 +00:00
|
|
|
pub mod app;
|
|
|
|
pub mod error_template;
|
|
|
|
#[cfg(feature = "ssr")]
|
|
|
|
pub mod fileserv;
|
|
|
|
|
2024-06-03 22:32:17 +00:00
|
|
|
pub mod components;
|
|
|
|
pub mod routes;
|
2024-06-02 22:03:30 +00:00
|
|
|
pub mod server;
|
|
|
|
|
2024-12-26 22:09:54 +00:00
|
|
|
const DB_URL: &str = "http://localhost:4000";
|
|
|
|
const DB_USER: &str = "saleor-marketplace";
|
|
|
|
const DB_PASSWORD: &str = r##"{%cA_#dr}{3ZDGC,Jy<+S-_M+FE?]][Cu#ND_V"##;
|
|
|
|
|
2024-06-02 22:03:30 +00:00
|
|
|
#[cfg(feature = "hydrate")]
|
|
|
|
#[wasm_bindgen::prelude::wasm_bindgen]
|
|
|
|
pub fn hydrate() {
|
|
|
|
use crate::app::*;
|
|
|
|
console_error_panic_hook::set_once();
|
|
|
|
leptos::mount_to_body(App);
|
|
|
|
}
|