0.0.7 • Published 2 years ago
nmc-import-cmp v0.0.7
NMC Import Components Library
NMC Import Components is a powerful library for simplifying the process of importing and generating components in your project. With this library, you can streamline the component import process and enhance your development workflow. This README will guide you through the installation and setup process.
Installation
You can easily integrate the NMC Import Components library into your project by following these simple steps:
Install the library using npm or yarn:
npm install nmc-import-cmp # or yarn add nmc-import-cmp
Configuration
To configure your project to use NMC Import Components effectively, follow these steps: 1. Open your package.json file and add the following line to your scripts:
"@components": "node ./node_modules/nmc-import-cmp/scripts/importPackages/importPackage.mjs"
2. **run command** in yout terminal:
```bash
npm run @components
## Integrating with Tailwind CSS
Go to your tailwind.config.js file
Add the generated components module :
```bash
presets: [
// ... other presets
require("./node_modules/nmc-import-cmp/presets/components-config")
],