How to using Riot.js and Django?

Hi all,

I have tried using riot.js version 5

<script type=“riot” src="./modal.riot">

examples/modal at gh-pages · riot/examples · GitHub

But the browser can not load .riot files

What is the best approach for this?

Thank you in advance!

Please be more specific and provide more details about what’s happening.

What do you mean by:

What does your template look like?
Are you loading all the requirements for riot?
Is your browser loading those requirements?

Sorry my mistake
The code miss: