Use Rust for the front-end too (#374)
Rust can compile to WASM, so let's use it for front-end code as well. To compile the front-end: ``` cargo install cargo-web cargo web deploy -p plume-front ```
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@use templates::base;
|
||||
@use template_utils::*;
|
||||
@use routes::*;
|
||||
|
||||
@(ctx: BaseContext, now: &str)
|
||||
|
||||
@@ -26,5 +25,4 @@
|
||||
</details>
|
||||
<input type="submit" value="Search"/>
|
||||
</form>
|
||||
<script src="@uri!(static_files: file = "js/search.js")"></script>
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user