Skip to content

Commit

Permalink
fixed url from leptos to yew
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Nov 8, 2023
1 parent 8f4e0c6 commit d9a56b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
buildExample = name: craneLib.buildTrunkPackage {
inherit CARGO_BUILD_TARGET cargoArtifacts;
src = fullSrc;
pname = "leptos-markdown-${name}";
pname = "yew-markdown-${name}";
trunkIndexPath = "examples/${name}/index.html";
cargoExtraArgs = "--package=./examples/${name}";
# RELATIVE URLS are a MESS
# https://github.com/thedodd/trunk/pull/470
trunkExtraBuildArgs = "--public-url=/leptos-markdown/${name}";
trunkExtraBuildArgs = "--public-url=/yew-markdown/${name}";

nativeBuildInputs = [
(pkgs.wasm-bindgen-cli.override {
Expand All @@ -90,7 +90,7 @@
{
checks = {};
packages = examples // {
default = pkgs.linkFarm "leptos-markdown examples" attr_examples;
default = pkgs.linkFarm "yew-markdown examples" attr_examples;
};

devShells.default = pkgs.mkShell {
Expand Down

0 comments on commit d9a56b3

Please sign in to comment.