Skip to content

Instantly share code, notes, and snippets.

@mateusreis
Created August 18, 2025 14:04
Show Gist options
  • Save mateusreis/4fcc48e04050522779caaf91e325a320 to your computer and use it in GitHub Desktop.
Save mateusreis/4fcc48e04050522779caaf91e325a320 to your computer and use it in GitHub Desktop.
Projetos web com o vite.js - Debian 13 - 2025
Seguindo esse guia que usa o three.js:
https://www.youtube.com/watch?v=Q7AOvWpIVHU&t=150s&ab_channel=Fireship
1. Instale com o vite
$ cd /var/www/html
$ npm init vite@latest
◇ Project name:
│ gorila teste
◇ Package name:
│ gorila-teste
◇ Select a framework:
│ Vanilla
◇ Select a variant:
│ JavaScript
◇ Scaffolding project in /var/www/html/ai/gorila/gorila teste...
└ Done. Now run:
$ cd "gorila teste"
$ npm install
$ npm run dev
Install dependencias:
$ npm install three
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment