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 server-side component creation tutorial covers 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. They are the preferred approach to component development going forward.

A tutorial that covers the creation, configuring, and deployment of a basic Component at Edge is available as the Create a component tutorial.

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.