Using additional JS or CSS file

Hi cco,

Yes, you can. Use the ‘Head’ property on the application to add your other javascript or css files into your application.

All the EmbeddedFiles are deployed to your Stadium application. If you include a javascript file under EmbeddedFiles, you can therefore link to it as follows:

In Stadium 5:

<script src="/Content/EmbeddedFiles/my-own-embeddedfile-example.js"></script>

In Stadium 6:

<script src="/src/assets/EmbeddedFiles/my-own-embeddedfile-example.js"></script>

I hope this helps.

1 Like