Getting started
Animotion uses pnpm as the package manager. If you donโt have pnpm installed the easiest method to install it is using npm assuming you have Node.js installed:
npm install -g pnpm
Create a new Animotion presentation
Run the Animotion CLI:
npm create @animotion@latest
If youโre using Windows and it doesnโt work:
npx @animotion/create
This is going to copy the Animotion template and install the dependencies for you.
โ Welcome to Animotion!
โ
โ Where should I create your project?
โ (press Enter to use the current directory)
โ
โ Pick the template you want to use:
โ Default
โ
โ Install dependencies? (requires pnpm)
โ Yes
โ
โ Installed dependencies.
โ
โ Done. ๐ช
๐ฟ๏ธ Start the development server:
pnpm run dev
๐ฌ Discord
https://joyofcode.xyz/invite
Install the dependencies if you havenโt during the setup:
pnpm i
Start the development server:
pnpm run dev
Open http://localhost:5173/ in your browser.