Sunsama Splash
Sunsama Splash is a small JS Library that can be imported as a
Local Development
From the root of the meteor
repository bring up the basic web app service:
make install
make start-lite
Then bring up the "development" environment for this.
cd library/splash
npm install
npm start
This exposes an extremely basic HTML page at localhost:8080
that has two text fields and a button that match the webflow pages. The page has the built script bundle imported in it's head and a single call to initialize it SunsamaSplash.default.initialize("development");
after the body. The goal is that we can do the same thing in Webflow and simply change code here.
Publishing
- Update the Package Version
- Publish to NPM
npm publish
- Increment the Version in Webflow: https://webflow.com/dashboard/sites/sunsama-splash-test/code and save changes
- Republish the Webflow Page