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

dist not included v4.0.0 #31

Open
kazuooooo opened this issue Aug 29, 2019 · 0 comments
Open

dist not included v4.0.0 #31

kazuooooo opened this issue Aug 29, 2019 · 0 comments

Comments

@kazuooooo
Copy link

Hi, thank you for making great repository and blog post :)

I tried to use rinse react with v4.0.0

and import button like below

import React from "react";
import { Button } from "rinse-react";

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <Button>hello!</Button>
      </header>
    </div>
  );
}

export default App;

I got

Module not found: Can't resolve 'rinse-react' in xxx

error.

I noticed package json point out dist/index.js but not included.
The poblem solved by adding dist/index.js file by hand.
It looks need to add dist/index.js for v4.0.0.

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

1 participant