https://github.com/michalbastrzyk/solidjs-template
Solidjs template heavily inspired by shadcn/ui/next-template
https://github.com/michalbastrzyk/solidjs-template
solidjs solidjs-boilerplate solidjs-starter solidjs-template
Last synced: about 2 months ago
JSON representation
Solidjs template heavily inspired by shadcn/ui/next-template
- Host: GitHub
- URL: https://github.com/michalbastrzyk/solidjs-template
- Owner: MichalBastrzyk
- Created: 2023-06-19T13:49:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T14:40:12.000Z (almost 3 years ago)
- Last Synced: 2025-07-07T11:15:04.933Z (11 months ago)
- Topics: solidjs, solidjs-boilerplate, solidjs-starter, solidjs-template
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SolidJS + Typescript + Prettier + Eslint
Heavily inspired by [shadcn/ui/next-template](https://github.com/shadcn/next-template)
## Why
I was bothered starting new projects for [frontendmentor](https://frontendmentor.io), and I like having a consistent dev env
## Usage
Either git clone the repository
```sh
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