feat: initial commit and template import

This commit is contained in:
Amadeu Jose Andrade Junior
2025-02-05 16:40:00 -03:00
commit 8123a94fcf
37 changed files with 12414 additions and 0 deletions

73
README.md Normal file
View File

@@ -0,0 +1,73 @@
## viterjs-template
JavaScript + React + Redux + Mui + Axios + ESLint + Prettier
![viterjs-template](https://i.ibb.co/xMMGs2Q/Screenshot-2023-07-07-105634.png)
### 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
```
```