Single page web app for drafting
- Clone repo
yarn install
yarn dev
- will serve app @http://localhost:5173
Edit src/data.js
Example
export const teams = {
red: {
id: "red",
playerNames: ["bps"],
sortOrder: 1,
},
blue: {
id: "blue",
playerNames: ["Milton"],
sortOrder: 2,
},
};
export const players = {
"AiRman": Player("AiRman", "pl"),
"Andeh": Player("Andeh", "se"),
"anni": Player("anni", "de"),
"badsebi": Player("badsebi", "pl"),
};
Start development server at http://localhost:5173
, live-reloading changes.
yarn dev
Bundle and output build to dist/
.
yarn build