0.0.10 • Published 11 months ago

@matart15/lib_ui_shadcn v0.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Web共通UI

shadcn-ui を使っております。

Usage

  • pnpm install @matart15/lib_ui_shadcn -D
  • pnpm install -D tailwindcss postcss autoprefixer
  • pnpx tailwindcss init -p
  • make sure to add following code to tailwind.config.js. it will tell tailwind to compile classNames from this library.
    export default {
      content: [
        ...
        "node_modules/@matart15/lib_ui_shadcn/**/*.{js,ts,jsx,tsx,mdx}",
        "../../node_modules/@matart15/lib_ui_shadcn/**/*.{js,ts,jsx,tsx,mdx}",
      ]

Contribution

  • pnpm i
  • git add .
  • pnpm build : then we include dist folder in github.
  • git cz
  • pnpm release : this increments git tag and push to github

consideration

  • since we using npm to directly download from github, we include dist folder in github.