Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.
/ viterjs-template Public archive

Boilerplate powered by vite for React-Javascript projects (Vite + JS + React + MUI + RRD + Prettier + EsLint)

License

Notifications You must be signed in to change notification settings

emre-cil/viterjs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 12, 2024
40c317a · Oct 12, 2024
May 16, 2023
Dec 17, 2023
May 16, 2023
May 16, 2023
May 16, 2023
May 16, 2023
May 16, 2023
May 16, 2023
May 16, 2023
Jul 7, 2023
Oct 12, 2024
May 16, 2023
Oct 12, 2024
Oct 12, 2024
Oct 12, 2024

Repository files navigation

viterjs-template

JavaScript + React + Redux + Mui + Axios + ESLint + Prettier

viterjs-template

Getting Started

Clone the repo

npx degit emre-cil/viterjs-template my-app
cd my-app

Install Dependencies

pnpm install

Run

pnpm dev

Paths

Application using absolute paths Example: '@/components/Counter/Counter';

if you don't want to use you can remove these lines from

vite.config.js

 resolve: {
    alias: {
      '@': path.resolve(__dirname, 'src'),
    },
    extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
  },

jsconfig.json

"paths": {
      "@/*": ["./*"]
    }

Scripts

Script Description
pnpm dev Runs the application.
pnpm build Create builds for the application.
pnpm preview Runs the Vite preview
pnpm lint Display eslint errors
pnpm lint:fix Fix the eslint errors
pnpm format Runs prettier for all files
pnpm test Run tests

Check List