Tutorials

Dojo 2 local installation

Discover the basics of creating a Dojo 2 application.

Your first Dojo 2 application

Create your first Dojo 2 application and use it to print a simple message in the browser.

Components of a Dojo 2 application

In this tutorial, you will learn about the structure of a simple Dojo 2 application and the purpose of each part of the application.

Creating widgets

Learn how to create and style custom widgets in Dojo 2.

Responding to events

Update an application in response to user-generated events, such as clicking a button.

Form widgets

Use some of Dojo 2's out-of-the-box form widgets to create a simple form and use it to update the application.

Deploying to production

Prepare a Dojo 2 application for production deployment.

Theming

Use the Dojo 2 theming and styling system to add a theme to an application.

State management

Learn what Containers and Injectors are. Use them to manage external state and inject that state into widget properties.

Form validation

This tutorial covers patterns for form validation, building on both the form widget tutorial and the state management tutorial.

Registry

Discover how to use Dojo 2's registry to lazily load widgets when they are needed.

Routing

Use Dojo 2's declarative routing within your application.

Using Dojo 1 Dijits

Find out how to use Dojo 1 Dijits in a Dojo 2 application.

Setting up a development environment

This tutorial shows how to set up and use a development environment to optimize your Dojo 2 experience.

Data-driven widgets

In this tutorial, you will learn how to create reactive, data-driven widgets in Dojo 2.