https://github.com/codeedu/laravel-mix-fora-do-laravel
https://github.com/codeedu/laravel-mix-fora-do-laravel
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeedu/laravel-mix-fora-do-laravel
- Owner: codeedu
- Created: 2020-06-28T14:18:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T04:45:28.000Z (over 4 years ago)
- Last Synced: 2025-03-29T17:51:10.401Z (about 1 year ago)
- Language: TypeScript
- Size: 612 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Descrição
Como usar o Laravel Mix fora do ambiente do Laravel.
Ele pode ser usado com qualquer outro framework e desta vez a integração é o Nest.js.
O Laravel Mix é uma ferramenta que trabalha com o webpack para organizar os assets da aplicação WEB.
### Para Windows
Lembrar de instalar o WSL2 e Docker. Vejo o vídeo: [https://www.youtube.com/watch?v=g4HKttouVxA](https://www.youtube.com/watch?v=g4HKttouVxA)
Siga o guia rápido de instalação: [https://gist.github.com/argentinaluiz/6bff167be40a2bf7a6bb879062cd25cd](https://gist.github.com/argentinaluiz/6bff167be40a2bf7a6bb879062cd25cd)
## Instalação
* Crie o volume do MySQL
``` bash
docker volume create iniciando-nestjs-dbdata
```
* Execute o projeto com o Docker:
``` bash
docker-compose up
```
## Rodar o projeto
* Acesse http://localhost:3000 para acessar o Nest.js
* Ver no package.json em scripts, todos os gatilhos com prefixo **frontend** para processar os ativos.
