-
Notifications
You must be signed in to change notification settings - Fork 34
Description
π Reproduction steps
npm run dev
π Expected behavior
[ASUS: starter-for-react]$ npm run dev
[email protected] 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?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct