windmill-react-ui icon indicating copy to clipboard operation
windmill-react-ui copied to clipboard

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

Open MohdAhmad1 opened this issue 4 years ago • 0 comments

  • 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 avatar Dec 05 '20 05:12 MohdAhmad1