appwrite / appwrite/starter-for-react

πŸ› Bug Report:

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
8
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### πŸ‘Ÿ 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

Image

### πŸ‘Ž 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.

Image

### 🎲 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.