Jump to content
Search Community

Free Hosting Sites that supports GSAP

CJ Cruz test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi and welcome to the GreenSock forums,

 

Sorry, I'm not really familiar with Netlify, but I'm very surprised to hear that a host would not support GSAP.

Are you saying they prohibit you from loading TweenMax from the cdn like:

 

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>

 

 

As long as you can edit html on your site you should be able to put this on your page 

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>

<script>

TweenMax.to("body", 5, {backgroundColor:"red", scale:0.5});

</script>

 

 

GSAP is used on over 7,000,000 sites and I've never heard of a host not allowing it. That is very strange. Perhaps I am misunderstanding something.

 

 

 

Link to comment
Share on other sites

Hi there, 

   

     I'm only using netlify for free hosting sites and yes it doesn't seem to support gsap animations. My project works well in some paid hosting sites but I'd like to keep it on a free hosting. So bad to hear that I'm the only one who experienced that in netlify.

Link to comment
Share on other sites

Can you send me a link to the page where you tried my suggestion?

 

It would be really helpful to be able to look at it and see if we can figure out why that code isn't working.

 

Is netlify producing an error that says it doesn't allow you to load GSAP?

Are you able to upload TweenMax to your site along with your other JavaScript files? Perhaps they don't like things that come off of a cdn. 

Just guessing here, I haven't used free hosts in a very long time, but it just seems very strange that a host would feature react, but not allow GSAP. Kind of puzzled.

 

 

 

  • Like 1
Link to comment
Share on other sites

I was gonna suggest Heroku for your react apps? Works well with node.js and I think you can store up to 5 free apps. I did have one with a MySQL database that required additional plugins, but for practice apps that are not getting a lot of views or database requests Heroku is a great option, and easy to integrate to an existing git repo!

Link to comment
Share on other sites

  • 3 weeks later...

I've only came across this thread and wanted to chime in: there's no such thing as 'Netlify does not support GSAP'.

 

Netlify is a static asset host, as in static sites, there's nothing there to stop/prevent the use of any scripts. All that is required is for said script to be included.

 

You said you installed GSAP with npm. Maybe when you are compiling the bundle it is not being included. Even so, the CDN option is expected to work as well as you including the GSAP scripts yourself and uploading them to Netlify.

 

Here's a mock I made a while ago that uses GSAP and is hosted in Netlify. It uses Vue, though, but the point is that GSAP is there.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...