React + TypeScript + Vite + Eslint9 + Prettier
npm i
nodejs >= 18npm run dev
run local projectnpm run build
build project
find src -type d | sed -e "s/[^-][^\/]*\// │ /g" -e "s/│\([^ ]\)/├── \1/" -e "s/ │/│/" -e "s/│\s*$//" -e "s/^/ /" | sed "s/├── src/src/"
npx npm-check -u
choco install mkcert
brew install mkcert
brew install nss
# if you use Firefox
mkcert localhost 127.0.0.1 ::1
enqueueSnackbar("Do you want to confirm this action?", {
variant: "info",
autoHideDuration: 10000, // 10 seconds
action: (key) => (
<CommonButton
color="inherit"
size="xs"
onClick={() => {
// Handle confirmation action here
console.log("Action confirmed");
closeSnackbar(key);
}}
>
Confirm
</CommonButton>
),
});
npx eslint .