Giter Club home page Giter Club logo

argon-design-system-react's Introduction

version license GitHub issues open GitHub issues closed Join the chat at https://gitter.im/NIT-dgp/General Chat

Product Gif

Start your development with a Design System for Bootstrap 4, React and Reactstrap. It is open source, free and it features many components that can help you create amazing websites.

Fully Coded Components

Argon Design System React is built with over 100 individual components, giving you the freedom of choosing and combining. All components can take variations in color, that you can easily modify using SASS files.

You will save a lot of time going from prototyping to full-functional code, because all elements are implemented. This Design System is coming with prebuilt examples, so the development process is seamless, switching from our pages to the real website is very easy to be done.

Every element has multiple states for colors, styles, hover, focus, that you can easily access and use.

View all components here.

Complex Documentation

Each element is well presented in a very complex documentation. You can read more about the idea behind this design system here. You can check the components here and the foundation here.

Example Pages

If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example pages. You will be able to quickly set up the basic structure for your web project.

View example pages here.

Table of Contents

Versions

HTML Angular Vue React
Argon Design System HTML Argon Design System Angular Vue Argon Design System Argon Design System React

Demo

Buttons Inputs Navbars
Buttons Inputs Navbar
Login Page Landing Page Profile Page Register Page
Login Page Landing Page Profile Page Register Page

View More

Quick start

Deploy

πŸš€ You can deploy your own version of the template to Genezio with one click:

Deploy to Genezio

Documentation

The documentation for the Argon Design System React is hosted at our website.

File Structure

Within the download you'll find the following directories and files:

Argon Design System React
.
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ ISSUE_TEMPLATE.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ jsconfig.json
β”œβ”€β”€ package.json
β”œβ”€β”€ Documentation
β”‚Β Β  └── documentation.html
β”œβ”€β”€ public
β”‚Β Β  β”œβ”€β”€ favicon.ico
β”‚Β Β  β”œβ”€β”€ index.html
β”‚Β Β  └── manifest.json
└── src
    β”œβ”€β”€ assets
    β”‚Β Β  β”œβ”€β”€ css
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ argon-design-system-react.css
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ argon-design-system-react.css.map
    β”‚Β Β  β”‚Β Β  └── argon-design-system-react.min.css
    β”‚Β Β  β”œβ”€β”€ img
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ brand
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icons
    β”‚Β Β  β”‚Β Β  β”‚Β Β  └── common
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ill
    β”‚Β Β  β”‚Β Β  └── theme
    β”‚Β Β  β”œβ”€β”€ scss
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ argon-design-system-react.scss
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bootstrap
    β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mixins
    β”‚Β Β  β”‚Β Β  β”‚Β Β  └── utilities
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ custom
    β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mixins
    β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ utilities
    β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vendor
    β”‚Β Β  β”‚Β Β  └── react
    β”‚Β Β  β”‚Β Β      β”œβ”€β”€ custom
    β”‚Β Β  β”‚Β Β      β”‚Β Β  └── vendor
    β”‚Β Β  β”‚Β Β      └── react-differences.scss
    β”‚Β Β  └── vendor
    β”‚Β Β      β”œβ”€β”€ font-awesome
    β”‚Β Β      β”‚Β Β  β”œβ”€β”€ css
    β”‚Β Β      β”‚Β Β  └── fonts
    β”‚Β Β      └── nucleo
    β”‚Β Β          β”œβ”€β”€ css
    β”‚Β Β          └── fonts
    β”œβ”€β”€ components
    β”‚Β Β  β”œβ”€β”€ Footers
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ CardsFooter.js
    β”‚Β Β  β”‚Β Β  └── SimpleFooter.js
    β”‚Β Β  └── Navbars
    β”‚Β Β      └── DemoNavbar.js
    β”œβ”€β”€ index.js
    └── views
        β”œβ”€β”€ Index.js
        β”œβ”€β”€ IndexSections
        β”‚Β Β  β”œβ”€β”€ Alerts.js
        β”‚Β Β  β”œβ”€β”€ Buttons.js
        β”‚Β Β  β”œβ”€β”€ Carousel.js
        β”‚Β Β  β”œβ”€β”€ CustomControls.js
        β”‚Β Β  β”œβ”€β”€ Datepicker.js
        β”‚Β Β  β”œβ”€β”€ Download.js
        β”‚Β Β  β”œβ”€β”€ Hero.js
        β”‚Β Β  β”œβ”€β”€ Icons.js
        β”‚Β Β  β”œβ”€β”€ Inputs.js
        β”‚Β Β  β”œβ”€β”€ Labels.js
        β”‚Β Β  β”œβ”€β”€ Login.js
        β”‚Β Β  β”œβ”€β”€ Menus.js
        β”‚Β Β  β”œβ”€β”€ Modals.js
        β”‚Β Β  β”œβ”€β”€ Navbars.js
        β”‚Β Β  β”œβ”€β”€ Pagination.js
        β”‚Β Β  β”œβ”€β”€ Pills.js
        β”‚Β Β  β”œβ”€β”€ Progress.js
        β”‚Β Β  β”œβ”€β”€ Tabs.js
        β”‚Β Β  β”œβ”€β”€ TooltipPopover.js
        β”‚Β Β  └── Typography.js
        └── examples
            β”œβ”€β”€ Landing.js
            β”œβ”€β”€ Login.js
            β”œβ”€β”€ Profile.js
            └── Register.js

Browser Support

At present, we officially aim to support the last two versions of the following browsers:

Resources

HTML Angular Vue React Laravel NodeJS
Argon Dashboard  HTML Argon Dashboard Angular Vue Argon Dashboard Argon Dashboard React Argon Dashboard Laravel Argon Dashboard NodeJS

Reporting Issues

We use GitHub Issues as the official bug tracker for the Argon Design System React. Here are some advices for our users that want to report an issue:

  1. Make sure that you are using the latest version of the Argon Design System React. Check the CHANGELOG from your dashboard on our website.
  2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
  3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

Licensing

Useful Links

Social Media

Twitter: https://twitter.com/CreativeTim?ref=creativetim

Facebook: https://www.facebook.com/CreativeTim?ref=creativetim

Dribbble: https://dribbble.com/creativetim?ref=creativetim

Instagram: https://www.instagram.com/CreativeTimOfficial?ref=creativetim

argon-design-system-react's People

Contributors

cristim67 avatar einazare avatar maisamaf avatar marqbeniamin avatar sajadevo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

argon-design-system-react's Issues

Build succeeded but getting an error while launching the app

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:118:11)
at Object.join (path.js:1039:7)
at noopServiceWorkerMiddleware (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/index.js:317:13)
at /Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/index.js:335:12)
at next (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/Users/saleemkhan/projects/reactjs/PickupNdrop2/node_modules/express/lib/router/layer.js:95:5)

npm install throwing errors

Hi. Im cloning the repo down and run the npm install to set up the node_module but it throwing errors. can someone help thanks

TypeError

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
at assertPath (path.js:39:11)
at Object.join (path.js:1218:7)
at noopServiceWorkerMiddleware (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/index.js:317:13)
at /media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/index.js:335:12)
at next (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/media/disk1/crashCourse/react/argon-design-system-react-master/node_modules/express/lib/router/layer.js:95:5)

set condition in form

I have a select field in form to chose password or key how can I set condition in form to filter the input form fields password or ssh-key,
Ip or DNS



User Name



Authentication Method
-- Search to Select -- Password SSH Key

                  <label for="userInputName">Password</label>
                  <input type="text" id="passwordInputName" className="form-control" placeholder="Enter Your Host password here" />
                  <br />
                  <label for="userInputName">SSH-Key</label>
                  <input type="textarea" id="ssh_keyInputName" className="form-control" placeholder="SSH-Key" />
                  <br />

I am new for react

[Bug] Cannot start the app after checking it out of GitHub

Version

[1.1.0] 2020-02-14

Reproduction link

https://github.com/creativetimofficial/argon-design-system-react

Operating System

macOS Catalina 10.15.5 (19F101)

Device

iMac

Browser & Version

Chrome Version 83.0.4103.116 (Official Build) (64-bit)

Steps to reproduce

  1. Git clone the repo
  2. npm i
  3. npm start
  4. open localhost:3000 in chrome

What is expected?

The default landing page should be displayed.

What is actually happening?

The following error is displayed on the page:

TypeError [ERR_INVALID_ARG_TYPE]: The β€œpath” argument must be of type string. Received type undefined raised when starting react app


Solution

I was able to resolve the issue by updating the version of react-scripts.
Updating the version from
"react-scripts": "3.3.1",
to
"react-scripts": "3.4.1",

Solution details are mentioned here -> https://stackoverflow.com/questions/60234640/typeerror-err-invalid-arg-type-the-path-argument-must-be-of-type-string-re

Additional comments

Hope this helps other developers who are planning to use your template. This template has been a big help for me!!!

Navbar Break Points - Disappearing Elements at Certain Widths

Version

1.1.0

Reproduction link

https://github.com/mj1268/ArgonBugReport-NavbarCollapse

Operating System

Windows 10

Device

Laptop

Browser & Version

Google Chrome Version 81.0.4044.138 (Official Build) (64-bit)

Steps to reproduce

  1. Adjust width of window
  2. When adjusting past each breakpoint, observe when the NavItems disappear/reappear - independent of the appearance of the collapsed toggle hamburger menu

What is expected?

Expect elements of Navbar to be swapped out with the toggle menu as the screen size passes the specified breakpoint (elements disappear, toggle menu simultaneously appears at the same screen width).

What is actually happening?

  1. Elements of the Navbar are disappearing after certain breakpoints, but before the toggle menu appears, leading to no visible navigational items in certain screen widths.

Solution

Additional comments

This is my first time submitting a bug report, please let me know if there's any other info you need. Thanks!

[Bug]High Severity Vulnerabilities in Older react-scripts and node-sass and Nested Dependencies

Version
Latest

Reproduction link
https://github.com/mekkim/donatemask

Operating System
All

Device
All

Browser & Version
All

Steps to reproduce
Run npm audit against latest branch.

What is expected?
No vulnerabilities in dependencies

What is actually happening?
38 vulnerabilities (20 moderate, 18 high) in dependencies.
npm audit fix advises that upgrades required to address vulnerabilities are breaking.

Solution
Dependencies and any resulting breaking feature changes should be resolved
react-scripts to version 5.0.0+
node-sass to version 7.0.1+

Additional comments
npm audit log: https://pastes.io/tr6m6umkip

[Bug] High Severity Vulnerabilities in Older react-scripts and node-sass and Nested Dependencies

Version

Latest

Reproduction link

https://github.com/creativetimofficial/argon-design-system-react

Operating System

All

Device

All

Browser & Version

All

Steps to reproduce

Run npm audit against latest branch.

What is expected?

No vulnerabilities in dependencies

What is actually happening?

38 vulnerabilities (20 moderate, 18 high) in dependencies.
npm audit fix advises that upgrades required to address vulnerabilities are breaking.


Solution

Dependencies and any resulting breaking feature changes should be resolved
react-scripts to version 5.0.0+
node-sass to version 7.0.1+

Additional comments

npm audit log: https://pastes.io/tr6m6umkip

[Bug] Login page and Register page has blank white space below, after removing simpleFooter.js

Version

latest

Reproduction link

https://romantic-goodall-98a83e.netlify.app/auth/register

Operating System

windows 10 pro 64bit

Device

PC

Browser & Version

chrome latest

Steps to reproduce

  1. Guidance on modifying the CSS property to get rid of that white space.

What is expected?

Full page gradient background with shapes and my register/login form.

What is actually happening?

I used the demo login page provided with the design system, I removed the footer component, now the footer component is removed but the white space still exist.


Solution

Additional comments

Please let me know which CSS property to edit get rid of that white space.
I've added a netlify link above kindly visit that link and scroll below to see the white space.

Can't load icons

Version

1.1.0

Reproduction link

https://github.com/sc4224/typescript-graphql

Operating System

Mac OSX Catalina

Device

iMac

Browser & Version

Chrome 83.0.4103.61

Steps to reproduce

  1. git clone the repo
  2. execute yarn
  3. execute yarn dev
  4. Go to http://localhost:3000
  5. Imported the scss and css files as instructed
    import 'argon-design-system-react/src/assets/vendor/nucleo/css/nucleo.css';
    import 'argon-design-system-react/src/assets/vendor/font-awesome/css/font-awesome.min.css';
    import 'argon-design-system-react/src/assets/scss/argon-design-system-react.scss';
  6. Open Sans font is loading, but Icons on the Input field are not loading.

What is expected?

Icons to load for valid and invalid Input fields

What is actually happening?

Icons are not loading, square box placeholder is showing up where the icon should be
Screenshot 2020-05-24 at 7 10 37 PM


Solution

Additional comments

[Bug] Closing the menu from colapsed Navbar seems laggy

Version

1.0.0

Reproduction link

https://demos.creative-tim.com/argon-design-system-react/#/

Steps to reproduce

  1. Get the collapsed Navbar by reducing the window width
  2. Open the menu Toggler
  3. Close it.

The behaviour is different from other Ui kit (BLK, non react Argon, Angular Argon....)

What is expected?

Instant closing of the menu

What is actually happening?

Delay, seems laggy.


Solution

Additional comments

I'm kinda newbie but is it a css issue ? Transition ? What should I try to fix it ?

[Bug] Failure to Compile

Version

1.10

Reproduction link

https://www.creative-tim.com/product/argon-design-system-react

Operating System

Windows 10

Device

N/A

Browser & Version

N/A

Steps to reproduce

  1. Yarn Install
  2. Yarn Start

The reason why I'm using Yarn is because if I use npm install it will throw tons of errors (I have GYP installed etc), installed node-sass, same thing, upgraded all dependencies, same thing, but with Yarn, it installs with no errors... I don't get why that is. Either way, the following error still happens. This is from a fresh download of argon, nothing changed.

What is expected?

The product should compile and start.

What is actually happening?

Failed to compile.

./src/assets/scss/argon-design-system-react.scss?v1.1.0 (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/assets/scss/argon-design-system-react.scss?v1.1.0)
SassError: argument $color of rgba($color, $alpha) must be a color
on line 451 of src/assets/scss/argon-design-system/variables.scss, in function rgba
from line 451 of src/assets/scss/argon-design-system/variables.scss
from line 23 of src/assets/scss/argon-design-system-react.scss

$input-btn-focus-color: rgba($component-active-bg, 1);

------------------------------^


Solution

Additional comments

Unable to host my site on netlify

i want my react app to open this page as root directory ->
localhost/landing-page, but nothing gets loaded and netlify returns 404. Please Help

Compiled with problems:

Compiled with problems:X

ERROR in ./src/assets/scss/argon-design-system-react.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./src/assets/scss/argon-design-system-react.scss)

Module Error (from ./node_modules/sass-loader/dist/cjs.js):
Cannot find module 'sass'
Require stack:

  • path\node_modules\sass-loader\dist\utils.js

ERROR in ./src/assets/scss/argon-design-system-react.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./src/assets/scss/argon-design-system-react.scss)

Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read properties of undefined (reading 'replace')
at process (C:\path\node_modules\resolve-url-loader\lib\engine\postcss.js:28:19)
at Object.resolveUrlLoader (C:\path\node_modules\resolve-url-loader\index.js:213:14)

Failure to Compile

Version

1.1.0

Reproduction link

https://www.creative-tim.com/product/argon-design-system-react

Operating System

Windows 10

Device

Does not matter

Browser & Version

Does not matter

Steps to reproduce

 1. Yarn Install

 2. Yarn Start

The reason why I'm using Yarn is because if I use npm install it will throw tons of errors (I have GYP installed etc), installed node-sass, same thing, upgraded all dependencies, same thing, but with Yarn, it installs with no errors... I don't get why that is. Either way, the following error still happens. This is from a fresh download of argon, nothing changed.

What is expected?

The product should compile and start.

What is actually happening?

Failed to Compile.

Solution

Just replace the whole package.json file with:

Failed to compile.

./src/assets/scss/argon-design-system-react.scss?v1.1.0 (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/assets/scss/argon-design-system-react.scss?v1.1.0)
SassError: argument `$color` of `rgba($color, $alpha)` must be a color
       on line 451 of src/assets/scss/argon-design-system/variables.scss, in function `rgba`
       from line 451 of src/assets/scss/argon-design-system/variables.scss
       from line 23 of src/assets/scss/argon-design-system-react.scss
>> $input-btn-focus-color:       rgba($component-active-bg, 1);

  ------------------------------^

I am wondering how to integrate this template with dashboard

!!! IF YOU DO NOT USE THIS ISSUES TEAMPLATE, YOUR ISSUE IS LIABLE TO BEING IGNORED BY US

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Please describe the behavior you are expecting

Current Behavior

What is the current behavior?

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. step 1
  2. step 2
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Device:
  • Operating System:
  • Browser and Version:

Failure Logs

Please include any relevant log snippets or files here.

Production build not running

Version

1.1.0

Reproduction link

https://www.dropbox.com/sh/85zrtorfmsj3hwu/AACpgIOxyFxfYvTHD3uWjsZMa?dl=0

Operating System

windows 10

Device

Acer aspire 5

Browser & Version

Brave 1.7

Steps to reproduce

1.github.com/Blackwatch1910/vysion
2.Download above code and run "npm run build"
3.deploy the build version.
4. The deployed site won't run.

What is expected?

The deployed site should render the page as in 'localhost/landing-page' on local machine

What is actually happening?

Nothing actually shows up.


Solution

tried configuring "homepage" attribute but didn't work.

Additional comments

sass loader issue

index.css:22 Uncaught Error: Module build failed (from ./node_modules/react-scripts/node_modules/sass-loader/dist/cjs.js):
SassError: $color: theme-color("primary") is not a color.
β•·
451 β”‚ $input-btn-focus-color: rgba($component-active-bg, 1);
β”‚ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β•΅
src\assets\scss\argon-design-system\variables.scss 451:31 @import
src\assets\scss\argon-design-system-react.scss 23:9 root stylesheet
at ./node_modules/css-loader/dist/cjs.js??

[Bug] Node Sass takes a lot of time to compile

Version

1.1.0

Reproduction link

https://www.creative-tim.com/product/argon-design-system-react

Operating System

Does not matter

Device

Does not matter

Browser & Version

Does not matter

Steps to reproduce

  1. Go to the attached link, and download the product
  2. Run in terminal npm run install:clean

What is expected?

The product should start fairly quickly.

What is actually happening?

The product take a very long time to start.


Solution

Just replace the whole package.json file with:

{
  "name": "argon-design-system-react",
  "version": "1.1.0",
  "description": "React version of Argon Design System by Creative Tim",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/creativetimofficial/argon-design-system-react.git"
  },
  "keywords": [
    "react",
    "reactjs",
    "argon",
    "argon-react",
    "design",
    "design-react",
    "argon-design",
    "argon-design-react",
    "kit",
    "react-kit",
    "argon-design-system",
    "argon-design-system-react",
    "design-system-react"
  ],
  "author": "Creative Tim",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/creativetimofficial/argon-design-system-react/issues"
  },
  "homepage": "https://demos.creative-tim.com/argon-design-system-react/",
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build && gulp licenses",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
    "compile-sass": "node-sass src/assets/scss/argon-design-system-react.scss src/assets/css/argon-design-system-react.css",
    "minify-sass": "node-sass src/assets/scss/argon-design-system-react.scss src/assets/css/argon-design-system-react.min.css --output-style compressed",
    "map-sass": "node-sass src/assets/scss/argon-design-system-react.scss src/assets/css/argon-design-system-react.css --source-map true"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "dependencies": {
    "bootstrap": "4.3.1",
    "classnames": "2.3.1",
    "headroom.js": "0.12.0",
    "moment": "2.29.1",
    "node-sass": "5.0.0",
    "nouislider": "14.7.0",
    "react": "17.0.2",
    "react-datetime": "2.16.3",
    "react-dom": "17.0.2",
    "react-router": "5.2.0",
    "react-router-dom": "5.2.0",
    "react-scripts": "4.0.3",
    "reactstrap": "8.9.0"
  },
  "devDependencies": {
    "@types/googlemaps": "3.43.3",
    "@types/markerclustererplus": "2.1.33",
    "@types/react": "17.0.4",
    "eslint-plugin-flowtype": "5.7.2",
    "gulp": "4.0.2",
    "gulp-append-prepend": "1.0.9",
    "jquery": "3.6.0",
    "typescript": "4.2.4"
  }
}

Additional comments

Happy Hacking!

Quick Question on usage on existing react website

Hello! I want to know how to use this system in another existing repository. I really like the navigation bar but I don't know what to do to get that component into another project that doesn't have argon. Thanks!

index.js:72 Uncaught TypeError: Cannot read property 'close' of undefined

It throws runtime errors only after npm start:

Uncaught TypeError: Cannot read property 'close' of undefined
at Object. (index.js:72)
at Object../node_modules/react-dev-utils/node_modules/chalk/index.js (index.js:260)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/react-dev-utils/formatWebpackMessages.js (formatWebpackMessages.js:11)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object../node_modules/react-dev-utils/webpackHotDevClient.js (webpackHotDevClient.js:23)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)

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.