Get Started with the Wix SDK for Website and Blocks Development

Introduction:
Earlier this week we began a gradual documentation rollout to reflect the ability to now use the Wix JavaScript SDK on Wix Studio, Classic Wix, and Blocks applications. This update moves to unify the developer experience on Wix so that no matter what you are building from a new app, headless application, or Wix Studio site - your dev experience will be the same. Read more about this update.

Notes

  1. Use of the Wix JavaScript SDK requires installation of an NPM package.
  2. While many API’s are available in the SDK, there are a few parts of Velo that do not yet have SDK counterparts. Read more about Velo-only API’s.
  3. Import suggestions and autocomplete for SDK will roll out gradually starting next week so you may not see these suggestions right away.
  4. The docs AI can help you find the SDK version of an API you are looking for but Wix AI in the IDE will not yet reflect these changes.

Example:
You are encouraged to start using the SDK in all new and ongoing development projects. Although your existing code written using the Velo API will continue to work, you may want to migrate that code to use the SDK.

3 Likes