Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrheault committed Sep 22, 2024
1 parent 41ad5f8 commit bff5bc9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,21 @@ test('renders {fileName} component', () => {{

## 👨‍💻 Usage

The extension analyzes CSS/SCSS files automatically, highlighting regions and providing information and fixes for stacking context and z-index issues.
1. **Generate a React Component:**
- Right-click on a folder in the Explorer.
- Select `React/Next Generator > Generate React Component`.
- Follow the prompts to create a new React component with SCSS module and test file.

2. **Generate a Next.js (Page, Loading, Layout, Error) file:**
- Right-click on a folder in the Explorer.
- Select `React/Next Generator > Generate Next.js {type} File`.
- Choose the desired file type (e.g., `Page`, `Loading`, `Layout`, `Error`).

3. **Use Snippets:**
- Open a JavaScript or TypeScript file.
- Type the snippet prefix (e.g., `rimr`, `rfc`, `nxpg`) and select the desired snippet from the suggestions.



## 🤝 Contributing

Expand Down

0 comments on commit bff5bc9

Please sign in to comment.