Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spin Template: Vite + Vanilla

A Spin template for scaffolding Vite + Vanilla JavaScript/TypeScript projects with HMR, ESLint, and production builds.

Usage

# From the official Spin registry
spin new myapp official/vite-vanilla

# Directly from the template repository
spin new myapp https://github.com/spin-templates/vite-vanilla

Parameters

Parameter Type Description Default
project_name text Project name (auto-injected by Spin)
variant select Which language variant? typescript
package_manager select Which package manager? npm
use_docker bool Include Docker support? false
git_init bool Initialize a git repository? true
description textarea What is your project description?
include_agents_md bool Include AGENTS.md with agent instructions? true
include_demo bool Include the showcase UI? true
tailwind bool Include Tailwind CSS v4? false

Variants

  • javascript: Vanilla JS with vite.config.js, src/main.js, src/site.js
  • typescript: TypeScript with tsconfig.json, src/main.ts, src/site.ts

Hooks

Post-hooks

  • git init && git add -A && git commit -m "Initial commit - Spin" — initializes git repo (when git_init is true)

  • {{ .package_manager }} install — installs project dependencies

License MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages