Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snails8/docker-laravel-nuxt
https://github.com/snails8/docker-laravel-nuxt
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/snails8/docker-laravel-nuxt
- Owner: Snails8
- Created: 2020-12-16T01:02:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-24T09:01:05.000Z (about 4 years ago)
- Last Synced: 2024-10-18T16:18:56.031Z (4 months ago)
- Language: PHP
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 前提
フロント側にNuxt.js,バックエンドをAPIとしてlaravelで作成### backend
install laravelX.X```
# Install the latest Laravel project
$ make create-project$ make install-recommend-packages
```
or
```
$ docker-compose exec app bash$ composer create-project --prefer-dist "laravel/laravel=8.*" .
$ php artisan -V
Laravel Framework X.X.X
```
### frontend
```
# install dependencies
$ yarn install# serve with hot reload at localhost:3000
$ yarn dev# build for production and launch server
$ yarn build
$ yarn start# generate static project
$ yarn generate
```