A boilerplate wrapping create-next-app with general FE environment setup.
This boilerplate provides integrated setup for...
Want to use SCSS for styling? Refer to the main branch. It also contains stylelint for linting(allow kebap-case & BEM), and clsx & cva utilities for component styling.
Want to use Vanilla-extract for styling? Refer to the vanilla-extract branch.
- Clone this repository:
git clone --depth=1 git@github.com:J3m3/next-app-general-boilerplate.git your-project-name
cd your-project-name
- Install all dependencies:
pnpm install
- Run the local development server:
pnpm dev
This boilerplate uses pnpm as a package manager. Here's some "npx" equivalents for pnpm.
# Running executables inside your downloaded dependencies
npx eslint --fix file.ts
pnpm exec eslint --fix file.ts
# Running executable commands in packages you want to download transiently
npx storybook@latest init
pnpm dlx storybook@latest init
https://stackoverflow.com/questions/75413361/can-i-use-npx-with-pnpm