appwrite / appwrite/starter-for-react
π Bug Report:
- 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
### π 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)
Contributor guide
Assessment
This issue has not been assessed yet.