What is FTP deployment?
Animmaster Vite Template includes a built-in FTP deployment feature that allows you to
upload the production-ready project (dist folder)
directly to a remote server or hosting.
This is useful when:
- you deploy static sites to shared hosting
- the server does not support Git
- you want a fast one-command upload
FTP configuration
All FTP settings are configured in template.config.js
inside the ftp section.
ftp: {
host: "ftp.your-host.com",
port: 21,
remoteDir: "/public_html/%projectName%",
user: "ftp-user",
password: "ftp-password"
}
host— FTP server hostnameport— FTP port (usually 21)-
remoteDir— destination folder on the server. You can use%projectName%to automatically insert the project folder name. user— FTP usernamepassword— FTP password
Deploy command
After configuring FTP access, run the following command:
npm run deploy
This command automatically:
- runs a production build
- creates or updates the
distfolder - uploads all files to the FTP server
Notes & recommendations
Download
FTP deployment is fully integrated into the Animmaster Vite Template workflow. Download the template and automate your hosting uploads today.