Skip to content

mento-protocol/governance-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mento Governance UI

Description

This is the UI repo for Mento Governance.

Table of Contents

Prerequisites

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

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

Installation

pnpm install && cp .env .env.local

Usage

pnpm dev

Project spec

Please refer to our spec documents by clicking here.

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.