diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b58ed40..58ad4ba 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,8 @@ blank_issues_enabled: false contact_links: - name: Request a feature - url: https://github.com/Nilanth/laravel-breeze-cra/discussions/new?category=ideas + url: https://github.com/Nilanth/laravel-breeze-react/discussions/new?category=ideas about: Share ideas for new features - name: Report a bug - url: https://github.com/Nilanth/laravel-breeze-cra/issues/new - about: Report a reproducable bug + url: https://github.com/Nilanth/laravel-breeze-react/issues/new + about: Report a reproducible bug diff --git a/README.md b/README.md index 4e6a03d..5b81dda 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Laravel Breeze - React Edition +# Laravel Breeze - React Edition build with Vite
@@ -9,7 +9,11 @@
> Laravel Breeze React is the implementation for react from [breeze-next](https://github.com/laravel/breeze-next).
-Laravel Breeze React is an implementing of the [Laravel Breeze](https://laravel.com/docs/starter-kits) authentication template for [Create React App](https://create-react-app.dev). All of the authentication boilerplate is already written for you - powered by [Laravel Sanctum](https://laravel.com/docs/sanctum), allowing you to quickly begin pairing your beautiful React frontend with a powerful Laravel backend.
+Laravel Breeze React is an implementing of the [Laravel Breeze](https://laravel.com/docs/starter-kits) authentication template for [React App](https://react.dev). All of the authentication boilerplate is already written for you - powered by [Laravel Sanctum](https://laravel.com/docs/sanctum), allowing you to quickly begin pairing your beautiful React frontend with a powerful Laravel backend.
+
+## Vite
+
+Laravel Breeze React is now turbocharged with [Vite](https://vitejs.dev/) for rapid compilation and efficient production builds. To know more about Vite check out [this article](https://dev.to/nilanth/use-vite-for-react-apps-instead-of-cra-3pkg).
## Quick Start
@@ -47,7 +51,7 @@ REACT_APP_BACKEND_URL=http://localhost:8000
Finally, run the application via `yarn start`. The application will be available at `http://localhost:3000`:
```
-yarn start
+yarn start --host localhost --port 3000
```
> Note: Currently, we recommend using `localhost` during local development of your backend and frontend to avoid CORS "Same-Origin" issues.
@@ -74,8 +78,8 @@ export default Dashboard
## Built with
-- [React](https://reactjs.org)
-- [Create React App v5](https://create-react-app.dev)
+- [React 18](https://reactjs.org)
+- [Vite](https://vitejs.dev/)
- [React Router v6](https://reactrouter.com): Routing for React
- [Tailwind](https://tailwindcss.com): for UI
- [SWR](https://swr.vercel.app/): React Hooks for Data Fetching
diff --git a/public/index.html b/index.html
similarity index 77%
rename from public/index.html
rename to index.html
index 3fe5ef4..b58a739 100644
--- a/public/index.html
+++ b/index.html
@@ -2,34 +2,35 @@