Skip to content

Commit bcc419b

Browse files
committed
Update README.md
1 parent 6f36b1d commit bcc419b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
## Installation
2323

2424
- `composer create-project --prefer-dist cretueusebiu/laravel-nuxt`
25-
- Edit `.env` to set your database connection details and `APP_URL` (the url to your Laravel application)
25+
- Edit `.env` and set your database connection details
2626
- (When installed via git clone or download, run `php artisan key:generate` and `php artisan jwt:secret`)
2727
- `php artisan migrate`
2828
- `npm install`
@@ -32,23 +32,24 @@
3232
### Development
3333

3434
```bash
35+
# start Laravel
3536
php artisan serve
37+
38+
# start Nuxt
3639
npm run dev
3740
```
3841

39-
You can access your application at `http://localhost:3000`.
42+
Access your application at `http://localhost:3000`.
4043

4144
### Production
4245

4346
```bash
4447
npm run build
4548
```
4649

47-
You can access your application the url you set `APP_URL` to.
48-
4950
### Enable SSR
5051

51-
- Set `ssr: true` in `client/nuxt.config.js`
52+
- Edit `client/nuxt.config.js` and set `ssr: true`
5253
- Edit `.env` to set `APP_URL=http://api.example.com` and `CLIENT_URL=http://example.com`
5354
- Run `npm run build` and `npm run start`
5455

0 commit comments

Comments
 (0)