Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dsaquel committed Dec 5, 2024
1 parent 1b0e443 commit ddded82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ impl Default for Development {

impl Development {
/// ```rust
/// use axum_inertia::vite;
///
/// vite::Development::default()
/// .base("/app/") // Must pass slash before and after
/// .into_config()
/// .into_config();
/// ```
pub fn base(mut self, base: &'static str) -> Self {
self.base = base;
Expand Down

0 comments on commit ddded82

Please sign in to comment.