1.3.0 • Published 2 years ago

@aleph/create-next-component v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Create Next Component

From anywhere in your project run npx @aleph/create-next-component

This is a tiny, opinionated command line script that, when run, will ask you for a component name (CapitalizeAndCamelCaseItPlease) and then generate a simple boilerplate component in the app/(frontend)/components folder of your NextJS (or really any) project. The boilerplate includes, all in a folder like app/(frontend)/components/ComponentName:

  • The TypeScript component in ComponentName.tsx
  • A Sass-driven css module like componentName.module.scss
  • A Storybook story at like ComponentName.stories.tsx
  • A Document file in MDX like ComponentNameDoc.mdx

That's all it does, there ain't no more.

1.3.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago