Skip to content

Commit 8612c9e

Browse files
authored
docs: add instruction to replace perseus_integration (#197)
* docks: add instruction to replace perseus_integration * Recommend `perseus_warp`
1 parent e678d44 commit 8612c9e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/.base/src/main.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ mod templates;
33

44
use perseus::{Html, PerseusApp};
55

6-
#[perseus::main(perseus_integration::dflt_server)]
6+
7+
/// Replace `<perseus_integration>` with an integration of your choice.
8+
/// Examples of supported integrations:
9+
/// - perseus_warp (recommended)
10+
/// - perseus-actix-web
11+
/// - perseus-axum
12+
#[perseus::main(<perseus_integration>::dflt_server)]
713
pub fn main<G: Html>() -> PerseusApp<G> {
814
PerseusApp::new()
915
.template(crate::templates::index::get_template)

0 commit comments

Comments
 (0)