You need to have the Manim Web CLI installed. Follow the Getting Started tutorial to install it.
Run:
manimweb init {folder}
By default, the CLI will use this repository.
Then, go to the folder and install the dependencies with:
cd {folder}
pub get
Finally, you can run the Dev Server with:
manimweb dev --file src/example.dart --html src/example.html
If you renamed some of the files or folders, change the command with the new names.
Then, follow the link in the console.
- Update the Manim Web Library with
pub add manim_web
- Update the Manim Web CLI with
pub global activate manim_web