Skip to main content

Tutorial

Let's create a standard project with YouTube Player.

Getting Started

Get started by creating a new site.

What you'll need

  • Node.js version 16.14 or above:
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.

Generate a new site

Generate a new Vite.js site using the vanilla (TypeScript) template.

npm create vite

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

Install the dependencies

Install the dependencies for your site with your favorite package manager.

cd my-website # or whatever folder you chose
npm install

Start your site

Run the development server:

cd my-website # or whatever folder you chose
npm run dev

Next Steps

To install YouTube Player into your new project, head to Installation.