Hello! Looking to modify the myscript.js file but cannot seem to find it in the sample project. Can someone guide me to it? Thanks in advance!
by user 236905740416057345
Hello! Looking to modify the myscript.js file but cannot seem to find it in the sample project. Can someone guide me to it? Thanks in advance!
by user 236905740416057345
Hello there – we have an experimental AI bot that might be able to help you with your question. Would you like to try this out?
How it works:
Reply to the messages of the bot that end with a thread_id
to interact with it and ask follow-up questions. You can also mention the bot directly in this channel to get help.
Help requested: please wait a moment…
Hi Snax! To modify your myscript.js
file or add a new script, you can either:
.ts
or .js
extension directly inside the src/scripts/
directory of your generated project, for example src/scripts/myscript.js
.Create > NPM Definition
then add TypeScript files by right-clicking an NpmDef file and selecting Create > TypeScript
.For more details, you can refer to the section on “Creating a new component” in the documentation (see the documentation).
1 messages left GPT 4
thread_IPSenqpb3ZEnM9xVMQH6Jsm4
Thanks for your feedback!
Hey @Snax , if you open the Workspace by clicking the “Workspace” button you can find all scripts used in the web project: