Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import styles from './undefined.css' #48

Closed
oodemi opened this issue Nov 1, 2017 · 3 comments
Closed

import styles from './undefined.css' #48

oodemi opened this issue Nov 1, 2017 · 3 comments

Comments

@oodemi
Copy link

oodemi commented Nov 1, 2017

I execute create-component-app without config.json.

The following code was generated.
I want to name it COMPONENT_NAME.css.

import React from 'react'
import PropTypes from 'prop-types'
import styles from './undefined.css' // <- undefined.css :(

const Foo = ({}) => (
  <div className="Foo"></div>
);

Foo.propTypes = {}

Foo.defaultProps = {}

export default Foo

${cssExtension ? `import styles from './${styleFileName}.${cssExtension}'` : ''}`

@CVarisco
Copy link
Owner

CVarisco commented Nov 1, 2017

Hi @oodemi
thanks a lot for your help 🙂
I'll watch why in the next few days!

Thanks a lot again 🌮

@CVarisco
Copy link
Owner

CVarisco commented Nov 3, 2017

Hi @oodemi !
I published a new version 1.2.1 that should fix the bug 🙂
If you find other bugs please tell me 👍

Thanks a lot for your support, I appreciate 🥇

@oodemi
Copy link
Author

oodemi commented Nov 7, 2017

Hi @CVarisco
Thank you for Fixing !!! 👍 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants