Hello everyone
For a hobby project I'm using Dioxus and would like to be able to generate pages at compile time based on files in a specific directory.
To achieve this, I decided to try writing procedural macros for the first time in my rust learning process.
Unfortunately, the generated pages don't work properly and I get error messages in my browser like "index out of bounds: the len is 0 but the index is 0" or "already borrowed: BorrowMutError".
Also, I have no idea how to debug the webassembly properly and if I simply replace the macro call with the expanded macro, it just works.
Any help, advice, hints, etc. would be greatly appreciated (including general improvements that don't necessarily solve the problem at hand).
Thank you very much
The result of my efforts can be seen here: GitHub - LeWimbes/dioxus-page-generation