Skip to content

Commit f623b7d

Browse files
author
root
committed
doc: include how to test static build in readme
1 parent dc46131 commit f623b7d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ yarn build
6666

6767
2. Os arquivos estáticos serão gerados na pasta `out/`
6868

69-
3. Para fazer o deploy:
69+
3. Para testar o build localmente:
70+
```bash
71+
npx http-server ./out -p 8000
72+
```
73+
- Acesse em: http://localhost:8000
74+
75+
4. Para fazer o deploy:
7076
- Copie todo o conteúdo da pasta `out/` para o diretório raiz do seu servidor web
7177
- Certifique-se de que o arquivo `.htaccess` está configurado corretamente
7278
- Configure o SSL/HTTPS no servidor

0 commit comments

Comments
 (0)