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

create react app not work fine #82

Open
pincman opened this issue Feb 8, 2021 · 1 comment
Open

create react app not work fine #82

pincman opened this issue Feb 8, 2021 · 1 comment

Comments

@pincman
Copy link

pincman commented Feb 8, 2021

config

const path = require(`path`);
const WebpackBar = require("webpackbar");
const CracoLessPlugin = require("craco-less");
module.exports = {
  plugins: [
    {
      plugin: CracoLessPlugin,
      options: {
        lessLoaderOptions: {
          lessOptions: {
            modifyVars: { "@primary-color": "#1DA57A" },
            javascriptEnabled: true,
          },
        },
      },
    },
  ],
  webpack: {
    alias: {
      "@": path.resolve(__dirname, "src/"),
    },
    // @ts-ignore
    plugins: [new WebpackBar({ name: "admin" })],
  },
};

problem
QQ20210208-190048@2x

@davidsonsns
Copy link

davidsonsns commented Mar 8, 2021

Was getting the same issue. Investigating it noticed that it's related to the width. Try to increase it to see if it will be fixed.

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