Comments (3)
Hi @Giuliano1993, usually a css module can be found in any folder. However, for simplicity I would say to create the css module in the same folder as the component.
from make-js-component.
Hi, I'd like to take charge of integrating this feature!
I was thinking we could add an extra question once react is selected as the framework: "Do you want to use module styling?" If the answer is no, the flow continues as usual. If yes, we'll create not only the component but also the css module already imported into the component.
Do you think this is a good approach?
from make-js-component.
Hi @fmineo ! You're welcome to take on this issue! Yes I think this can be a good approach! When the wizard ends you should not only copy the template but also the module!
Not an expert about React, but does the module for styling goes in the same folder of the component, in that case?
from make-js-component.
Related Issues (20)
- When I try to insert the component name with the dash, like "my-component", the cli return ">> Component name can only contain alphanumeric characters" HOT 3
- Not handled exception when trying to create a component into a subfolder HOT 2
- [ vue ] Add possibility to create the component for a Nuxt App instead of a Vue app HOT 2
- Add Astro framework HOT 2
- Documentation for working with flags HOT 4
- Define defaults for Vue HOT 2
- Define defaults for React HOT 2
- Define defaults for Svelte HOT 3
- Define defaults for Qwik
- adding a --default flag HOT 4
- Prevent old components from being overwritten by creating homonymous components HOT 3
- Adding advanced for React HOT 2
- Adding advanced for Svelte
- Adding advanced for Angular
- Adding advanced for Qwik
- bug when creating React component with "styled-component" HOT 2
- Add possibility to create a WebComponent
- When using the --multiple flag there's no ending condition HOT 3
- FIX "Do you want to create another component?" question moment HOT 3
- Add: support for mitosis component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from make-js-component.