An open API service indexing awesome lists of open source software.

https://github.com/mento-protocol/governance-ui

An open source interface for the Mento protocol governance
https://github.com/mento-protocol/governance-ui

Last synced: about 1 month ago
JSON representation

An open source interface for the Mento protocol governance

Awesome Lists containing this project

README

          

# Mento Governance UI

## Description

This is the UI repo for Mento Governance.

## Table of Contents

- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Project Spec](#project-spec)

## Prerequisites

- [node.js](https://nodejs.org/en) >= 20.11.0

- [pnpm](https://pnpm.io/) >= 8.15.0

## VS Code recommendations

It's recommended to install:

- prettier
- Tailwind CSS Intellisense
- Eslint

For the Tailwind intellisense, please add the following to your `settings.json`

```json
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
]
```

## Installation

```bash
pnpm install && cp .env .env.local
```

## Usage

```bash
pnpm dev
```

## Project spec

Please refer to our [spec documents by clicking here.](./docs/index.md)

## Troubleshooting

### No item imported in barrel file optimization

This is due to the optimizer caching the results, simply delete the `.next` folder and restart your dev environment.