An open API service indexing awesome lists of open source software.

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

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