Skip to content

BadgerCode/CMC_Dashboard

Repository files navigation

CMC MC Dashboard

A dashboard to show various bits of data from the CMC MC server.



Useful links




Local Setup

IDE & tools


Config

Create the file .env.local in the root folder with the following contents

VITE_API_URL="https://api.smponlinedashboard.com"
VITE_DISCORD_LOGIN_URL="https://discord.com/oauth2/authorize?client_id=1485066053850632384&response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A5173%2Flogin%2Fdiscord&scope=identify"

Running

In the terminal

# Install current packages
npm ci

# Run the project
npm start

Recommended Browser Setup


Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

About

A dashboard for the SMP Online Minecraft Server

Topics

Resources

License

Stars

Watchers

Forks

Contributors