Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vite + solid templates

NotificationsYou must be signed in to change notification settings

solidjs/templates

Solid Vite Templates

Solid Templates (usingvite)

This repository holds most of the official starter templates forvite.

You get:

  • HMR out of the box
  • Minimal bundle size
  • All the vite features

Learn more on theSolid Website and come chat with us on ourDiscord

Get started

Those templates dependencies are maintained viapnpm viapnpm up -Lri.

This is the reason you see apnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

These templates are meant to be used as is via thedegit utility.

# Typescript basic template$ npx degit solidjs/templates/vanilla/basic my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript bare template$ npx degit solidjs/templates/vanilla/bare my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript unocss template$ npx degit solidjs/templates/vanilla/with-unocss my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript tailwindcss template + solid-router with config-based routing$ npx degit solidjs/templates/vanilla/with-solid-router my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript vite-plugin-pages file-based routing$ npx degit solidjs/templates/vanilla/with-vite-plugin-pages my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript bootstrap (5) template$ npx degit solidjs/templates/vanilla/with-bootstrap my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript + tailwindcss template$ npx degit solidjs/templates/vanilla/with-tailwindcss my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript + sass template$ npx degit solidjs/templates/vanilla/with-sass my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript + vitest template$ npx degit solidjs/templates/vanilla/with-vitest my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript + vitest browser mode template$ npx degit solidjs/templates/vanilla/with-vitest-browser-mode my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# Typescript + uvu template$ npx degit solidjs/templates/vanilla/with-uvu my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# TanStack Router$ npx degit solidjs/templates/vanilla/with-tanstack-router-config-based my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# TanStack Router File Based$ npx degit solidjs/templates/vanilla/with-tanstack-router-file-based my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install
# TanStack Start$ npx degit solidjs/templates/vanilla/with-tanstack-start my-solid-project$cd my-solid-project$ npm install# or pnpm install or yarn install

I don't see a template that matches my need?

You wish there was a template with your favorite library?

Feel free to make a pull request. Copy one of the template already available, tweak it, name it properly and make a PR. Seecontributing below.

Contributing

This project is managed withpnpm. You shouldinstall it first to test out your template or contribute to an existing one.

You can create your own template and prefix itwith- and give it a name that describe the purpose.

To update all dependencies you can run:

pnpm up -Lri

Troubleshooting

It appears that Webstorm generate some weird triggers when saving a file. In order to prevent that you can followthis thread and disable the"Safe Write" option in"Settings | Appearance & Behavior | System Settings".

About

Vite + solid templates

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors45


[8]ページ先頭

©2009-2025 Movatter.jp