leptos-rs / start-trunk

A Starter Template for Leptos-rs CSR Apps using the Trunk build tool
23 stars 6 forks source link

Bugfix: remove rel="stylesheet" #5

Open kakserpom opened 3 months ago

kakserpom commented 3 months ago

Otherwise it doesn't build:


cd fubar
trunk serve --port 3000 --open

2024-05-06T05:50:09.573268Z  INFO :rocket: Starting trunk 0.20.0
2024-05-06T05:50:09.576434Z  INFO :package: starting build
2024-05-06T05:50:09.711597Z ERROR :x: error
error from build pipeline

Caused by:
    unknown <link data-trunk .../> attr value `rel="stylesheet"`; please ensure the value is lowercase and is a supported asset type```
BrPrS commented 2 months ago

I confirm this problem and as @kakserpom said it will be fixed by removing rel="stylesheet" .

jpaugh commented 2 weeks ago

Looks right to me. Note that trunk's API for this is idiosyncratic, but it converts it to rel="stylesheet" in the end.