/notion-widgets

Widgets to embed in Notion templates

Primary LanguageJavaScript

Overview

This project is built with Next.js, a React framework for production. Below are the instructions to set up and run the project locally, as well as build and lint the codebase.

Live URL: https://notion-with-widgets.vercel.app/

Prerequisites

Before running any of the commands, make sure you have the following installed:

  • Node.js (version 12.0.0 or higher)
  • npm (Node package manager)

Available Scripts

In the project directory, you can run the following commands:

To start the development server, run:

npm run dev

Runs the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.

To build the app for production, run:

npm run build

Builds the app for production to the .next folder. The build is optimized and ready to be deployed.

To start the production build, run:

npm run start

Runs the production build. You must run npm run build before using this command.

To run the linter, run:

npm run lint

Runs the linter to identify and fix code formatting issues.