This is a general question about how to do this in Anvil and should be in the Q&A section with more details and context about what you’re trying to do.
Is it possible to use other templates on our anvil app?
Yes, you can build anything you like.
But how can we do it?
Open a blank app, custom html. Build your page templates in assets, CSS in assets, anything else you need in Native Libraries. Then you’ll have to make sure your anvil-slots are set into your HTML, and then you’ll need to work through the CSS tweaking it to ensure final compatibility. Then you’ll need to make sure you’ve added any custom Anvil roles and build any components you like. It’s just logical and methodical. All the docs are there - Anvil is ludicrously well documented. It’s a process, sure, but that’s why it’s called development.
@Socint Would love to see more of this! I think Anvil works great in terms of functionality, but making something actually beautiful isn’t that straightforward.
Thank you! Procrastination begins … now
Oh don’t, I’m currently staring into Haystack and seeing if there’s a way I can natively work vectors into Anvil without mucking around with third party deps like pinecone…
Ok, this is cool, I open the clone and immediately see the splash effect take place in the designer! Amazing how that happens both on your design work and Anvil’s continual work on the editor!
It is kind of cool, right? I know it’s far from perfect, but it shows that it’s possible, and that means everything is possible!
@socint is there supposed to be a gif in the assets section for the loading spinner?
#loadingSpinner {
-webkit-animation:spin 2s linear infinite;
-moz-animation:spin 2s linear infinite;
animation:spin 2s linear infinite;
width: 100px;
height:100px;
border-radius: 0;
z-index: 1234567;
box-shadow: none;/0px 0px 10px 10px #fcfcfc;/
background-color: transparent;
background-image: url(_/theme/spinner.gif) !important;}
It seems to be missing.
Yes, my bad. will add it in.
Edit: I have now fixed the problem I created myself…
That’s a nice spinner for sure