Skip to main content

Creating a project

Prerequisites

Before initiating a project, ensure that your development environment includes:

  • .NET SDK: Version 6.0 or higher is required, with version 9.0 recommended.​
  • Node.js: Version 18.0 or above is necessary. Utilizing a version manager like nvm can assist in handling multiple Node.js versions on a single machine.​

When installing Node.js, it's advisable to select all checkboxes related to dependencies to ensure a comprehensive setup.

Setting Up a New Project

Elmish Land offers a dedicated .NET tool to facilitate project creation, feature addition, and development server management. Follow these steps to establish a new project:​

1. Initialize the Project Directory:

mkdir MyProject
cd MyProject

2. Install the Elmish Land Tool:

dotnet tool install elmish-land --create-manifest-if-needed

3. Initialize the Elmish Land Project:

dotnet elmish-land init

4. Launch the Development Server:

dotnet elmish-land server

Executing dotnet elmish-land init scaffolds a new project within the MyProject directory. Subsequently, running dotnetn elmish-land server initiates the development server, accessible at http://localhost:5173.​

For community support, collaboration, or to seek assistance, consider joining the Elmish Land Discord. We are eager to see the innovative applications you'll develop with Elmish Land!​

Editor Configuration

For an optimal development experience, we recommend using one of the following editors: