Build and test your first component

Want an interactive way to learn about components? Check out the DXP Component Library for best practice examples.

These instructions will guide you through building a basic component using the Component Service.

Complete each step before going on to the next.

The component creation tutorials included here cover the creation, configuring, and deployment of server components.

They do not cover the creation, configuring and deployment of Components at Edge.

Components at Edge are a Squiz DXP Component Service runtime implementation and they are the preferred approach to component development going forward.

New documentation focused on creating, configuring, and deploying components at edge is being prepared.

In the interim:

Prerequisites

Some tasks must be performed before you start to use Component Service. Read Prerequisites in the Getting started page to make sure you are ready to go.

Goals

At the end of these instructions, you will have achieved the following:

  • Created the file structure for your component.

  • Tested your component in your local development environment.