Skip to content

selvklart/selvklart-nextjs-example

Repository files navigation

Next.js example for Selvklart

Included

Local development

To be able to work on the project locally, you'll need to set up a few things first.

Pre-requisites

Creating a new project

The project can be created from any directory you want, so where you install it is up to you. The command will prompt you for a project name.

cd ~/<your project dir>
npx create-next-app@latest -e https://github.com/selvklart/selvklart-nextjs-example

This will pull down the project and ask for a project name. Upon completion you will have a ready to go NextJS project with certain Selvklart additions.

Next steps

  1. Create a Github project using the web or CLI
    gh repo create selvklart/<app name>
  1. Initialize the app folder
    cd ~/<your project dir> && git init -b main
  1. Add and commit the files
    git add . && git commit -m "Initial Selvklart Next Example commit"
  1. Push the commit to the repo
    git remote add origin <REMOTE_URL>
    # Sets the new remote
    git remote -v
    # Verifies the new remote URL
    git push -u origin main
    # Pushes the changes in your local repository up to the remote repository you specified as the origin

Your new project is now ready - happy coding!

Editing the example TODO

TODO

  • Agree on best practices and add it to this repo
  • Create Klart project example?
  • Add better readme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published