Using spread.js

I would like to use spread.js within custom HTML pages. How can I do this and can I copy the SpreadJs scrip files to a script directory? Spread.Js also requires custom CSS files can these be copied and used from the assets directory?

Hi @ian.child and welcome to the forum!

To use Native Libraries with Anvil, select the Native Libraries option in the App Browser. Any HTML you add here will be added to the <head> tag of your app’s HTML, so you should add your script tags for Spread.js here.

You can add files, including CSS files, to your app’s Assets. Once you’ve uploaded your files, you can access them via URL. They are hosted at <your-app-url>/_/theme/<filename>.

https://anvil.works/docs/client/themes-and-styling#adding-your-own-asset-files