appwrite / appwrite/starter-for-react
🐛 Bug Report:
- Lenguaje dominante
- JavaScript
- Estrellas
- 8
- Forks
- 44
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 👟 Reproduction steps
npm run dev
### 👍 Expected behavior
[ASUS: starter-for-react]$ npm run dev
> react-starter-kit-for-appwrite@0.0.0 dev
> vite
VITE v6.3.5 ready in 471 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
### 👎 Actual Behavior
Assets in public directory cannot be imported from JavaScript.
If you intend to import that asset, put the file in the src directory, and use /src/appwrite.svg instead of /public/appwrite.svg.
If you intend to use the URL of that asset, use /appwrite.svg?url.
Assets in public directory cannot be imported from JavaScript.
If you intend to import that asset, put the file in the src directory, and use /src/react.svg instead of /public/react.svg.
If you intend to use the URL of that asset, use /react.svg?url.
Files in the public directory are served at the root path.
Instead of /public/react.svg, use /react.svg.
### 🎲 Appwrite version
Appwrite Cloud
### 💻 Operating system
Windows
### 🧱 Your Environment
17.0.0
### 👀 Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find similar issue
### 🏢 Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Guía de contribución
Línea de trabajo
Empieza ejecutando `npm run dev` e inspecciona las importaciones del starter de `public/appwrite.svg` y `public/react.svg`, usando la salida de errores de Vite como guía. Se considera terminado cuando el servidor de desarrollo se inicia sin errores de importación del directorio public y los assets referenciados siguen cargándose.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, react, vite
- Área
- build-system, frontend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100