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
- Host: GitHub
- URL: https://github.com/mento-protocol/governance-ui
- Owner: mento-protocol
- Created: 2023-10-04T11:55:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:52:20.000Z (over 1 year ago)
- Last Synced: 2024-10-29T13:22:49.190Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://governance.mento.org
- Size: 5.48 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
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.