- Get Started
- Framework
Menu
- Get Started
- Framework
7.1. Next.js Starter
In this chapter, you’ll learn how to install and use the Next.js Starter storefront.
Install Next.js Starter#
-
Clone the latest branch of Local Proto. (Coming soon)
-
Change to the
my-localproto-storefront
directory, install the dependencies, and rename the template environment variable:
- While the Local Protocol application is running, start the Next.js storefront:
Your Next.js Starter Storefront is now running at localhost:8000
.
Customize Storefront#
To customize the storefront, refer to the following directories:
src/app
: The storefront’s pages.src/modules
: The storefront’s components.src/styles
: The storefront’s styles.
Tip: You can learn more about development with Next.js through their documentation .
Configurations and Integrations#
The Next.js Starter is compatible with some Local Protocol integrations out-of-the-box, such as the Stripe provider module. You can change some of its configurations if necessary.
Was this chapter helpful?