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

Uncaught SyntaxError: The requested module '../../web_modules/@windmill/react-ui.js' does not provide an export named 'Button' #23

Open
MohdAhmad1 opened this issue Dec 5, 2020 · 0 comments

Comments

@MohdAhmad1
Copy link

  • windmill-react-ui 0.5.0:

Relevant code :

import React,from 'react';
import { Button } from '@windmill/react-ui';

const Store = () => {
  return (
    <div>
      <Button> Button </Button>
      <h1 className="text-5xl">This Is Store</h1>
    </div>
  );
};

export default Store;

This error comes in importing every component from this library:

The requested module '../../web_modules/@windmill/react-ui.js' does not provide an export named 'Button'

@MohdAhmad1 MohdAhmad1 changed the title Cant import components from @windmill/react-ui Uncaught SyntaxError: The requested module '../../web_modules/@windmill/react-ui.js' does not provide an export named 'Button' Dec 5, 2020
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