Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sinej/three-shoes
three-shoes
https://github.com/sinej/three-shoes
Last synced: 2 days ago
JSON representation
three-shoes
- Host: GitHub
- URL: https://github.com/sinej/three-shoes
- Owner: sinej
- Created: 2024-03-20T13:43:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T09:39:03.000Z (8 months ago)
- Last Synced: 2024-03-25T06:20:06.127Z (8 months ago)
- Language: TypeScript
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Three E-Commerce
###
### vite + React + typescript
`$ npm create vite@latest`### Project Setting
`$ npm i`
`$ npm run dev`#### Three 설치
`npm install three @types/three @react-three/fiber`
`npm i @react-three/drei`#### tsconfig or vite.config
`npm i path`
`npm i node`
`npm i @types/node`````
** tsconfig
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"]
},
"types": [
"node"
],
````````
** vite.config
resolve: {
alias: [
{
find: "@src",
replacement: path.resolve(__dirname, "src"),
},
{
find: "@components",
replacement: path.resolve(__dirname, "src/components")
}
]
}
````