LaunchFast Logo

TODO 2: A Step-by-Step Guide

Rishi Raj Jain Rishi Raj Jain
TODO 2: A Step-by-Step Guide

In this guide, you will learn how to TODO. You will go through the process of TODO.

Prerequisites

You'll need the following:

Table Of Contents

Create a new Astro application

Let’s get started by creating a new Astro project. Execute the following command:

Terminal window
npm create astro@latest my-app

npm create astro is the recommended way to scaffold an Astro project quickly.

When prompted, choose:

  • Empty when prompted on how to start the new project.
  • Yes when prompted if plan to write Typescript.
  • Strict when prompted how strict Typescript should be.
  • Yes when prompted to install dependencies.
  • Yes when prompted to initialize a git repository.

Once that’s done, you can move into the project directory and start the app:

Terminal window
cd my-app
npm run dev

The app should be running on localhost:4321.

Change TODO

TODO

---
import App from "./App.astro";
---
<h1>Astro</h1>
<span>New</span>

Build and Test your Astro application locally

To test the application in application, prepare a build and run the preview server using the command below:

Terminal window
npm run build && npm run preview

Conclusion

In this guide, you learned how to TODO.

Learn More
TODO 1: A Step-by-Step Guide
TODO 1: A Step-by-Step Guide April 16, 2024