Genie Discord forum
I have spent more time than I would like to try and add tabs to a project in Genie Builder. Unfortunately the docs are outdated (https://genieframework.com/docs/stippleui/v0.21/API/tabs.html) , and there are no examples that involve Genie Builder, so I have not yet figured out what role GB fulfills, aside from visuals, or whether multiple tabs REQUIRE TabGroups, or whether TabPanels/TabPanelGroups are needed at all (as opposed to different URL's) etc...
I have had much better success copying already by using this approach that uses HTML, CSS, and JS. https://codepen.io/z007/pen/gwyRLQ
Originally, I thought that I could store the code inside an "app.css" and "app.js" and place them in the project directory, linking them to the HTML. Unfortunately, even when I specified the file location (rather than just file names) in the and <script> blocks, the functions and styles were not found. So it occurred to me that the julia server does not recognize the files as part of the project even though they are in the same folder.</script>
**👉 Can anyone tell me what is the best way to upload these files to the server as part of the project? 👈 **
Once again, huge thanks to the @GENIE team for building such a cool product and I am really curious to see what new features will be released or updated soon!
the assets should be placed in the public/ folder as it is usually done in web frameworks. Then you'll be able to access them. For instance, to access /public/style.css you'll use the route mysite.com/style.css
So would I need to upload the files with an ftp client or some similar app?
I had hoped that I could just put the files in the same folder created by genie builder for the project
sorry, but that's for assets like images or something. You can also use the
what do you mean upload the files with an FTP client? I meant a structure like this
Got it, thanks!
no ftp needed (I think)
Forgive me, I have no experience writing web apps, so this is probably common knowledge for almost everyone working with Genie. 😳
no it's not! no ftp needed indeed 🙂