GithubHelp home page GithubHelp logo

vyushin / mui-passfather Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 38 KB

mui-passfather is material-ui text field component allowing generate strong password or random string.

License: MIT License

HTML 2.32% TypeScript 19.69% CSS 0.90% JavaScript 77.09%
material-ui passfather password password-generator react react-component

mui-passfather's People

Contributors

vyushin avatar

Watchers

 avatar

mui-passfather's Issues

Error loading .jsx inside /node_modules?

Thanks for making this open source!
Why would I be getting this error trying to load your main file in /node_modules?

importing and using the plugin exactly per demo:

import MuiPassfather from "mui-passfather";

causes:

ERROR in ./node_modules/mui-passfather/src/MuiPassfather.jsx 189:4
Module parse failed: Unexpected token (189:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| 
|   return (
>     <TextField
|       value={valueState}
|       onChange={handleChange}
 @ ./node_modules/mui-passfather/index.js 1:0-56 2:0-5:2 2:0-5:2
 @ ./src/components/Form/PasswordComponent.js 6:0-43 61:38-51
 @ ./src/components/DialogForm.js 16:0-57 198:40-57
 @ ./src/components/Dashboard.js 14:0-38 246:116-126
 @ ./src/PubReg.js 11:0-47 67:38-47
 @ ./src/index.js 5:0-30 12:94-100

my webpack loader seems to be configured correctly:

{
          test: /\.(js|jsx)$/,
          exclude: /node_modules/,
          resolve: {
            extensions: [".js", ".jsx"],
          },
          loader: "babel-loader",
          options: {
            presets: ["@babel/preset-env", "@babel/preset-react"],
            plugins: ["@babel/transform-runtime"],
          },
        },

I tried dowgrading to 1.1.1 to match the demo bin, but no luck.

What am I missing? Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.