Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maestropravaler/next.js_started
https://github.com/maestropravaler/next.js_started
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/maestropravaler/next.js_started
- Owner: MaestroPravaler
- Created: 2021-10-07T00:42:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-07T00:42:12.000Z (about 3 years ago)
- Last Synced: 2023-08-27T04:26:16.895Z (about 1 year ago)
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pequeno Projeto em Next.js
1. Criar um projeto em next
```
npx create-next-app next-started
```
2. Criar o diretório pages/instrumentos e dentro o arquivo index.js | Objetivo: compreender o sistema de rotas.
```
// Para acessar o componente somente digite no browser /nomedodiretoriocriado
http://localhost:3000/instrumentos
```3. Instalar o bootstrap
```
npm install bootstrap --save
```
No arquivo _app.js
```
import 'bootstrap/dist/css/bootstrap.css'
```4. Resultado final com algumas classes do bootstrap incorporadas
![](public/assets/images/next_started.png)