Skip to content

MichalBastrzyk/solidjs-template

Repository files navigation

SolidJS + Typescript + Prettier + Eslint

Heavily inspired by shadcn/ui/next-template

Why

I was bothered starting new projects for frontendmentor, and I like having a consistent dev env

Usage

Either git clone the repository

git clone https://github.com/MichalBastrzyk/solidjs-template.git

# Then remove the .git directory

rm -rf .git

Or create new repo straight from github by clicking Use this template

Don't forget to rename the project in package.json

Available Scripts

In the project directory, you can run:

npm/yarn/pnpm run dev

Start dev server on port 3000

npm/yarn/pnpm run preview

Build and starts vite preview server on port 3000

npm/yarn/pnpm run typecheck

Runs a project wide typechecking using tsc

npm/yarn/pnpm run lint:write

Runs a project wide eslint check and fixes fixable errors (great for tailwindcss classes ordering)

npm/yarn/pnpm run lint:write

Runs a project wide eslint

npm/yarn/pnpm run lint:check

Runs a project wide eslint check

npm/yarn/pnpm run format:write

Runs a project wide prettier formatting fixing all the stuff

npm/yarn/pnpm run format:check

Runs a project wide prettier formatting

Contribution

All issues and pull request are welcome

About

Solidjs template heavily inspired by shadcn/ui/next-template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published