react-component / react-component/slider

CodeSandBoxes of documentation have import error 'ModuleNotFoundError'

Open
#832 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
768
Avg merge
11d 22h
Merged PRs (30d)
5

Description

Opening (I think) any CodeSandBox of slider-react-component.vercel.app has this import error

I have only opened Marks and Slider demos

A Slider demo with import error: https://codesandbox.io/s/p8ytog

I changed :

import 'rc-slider/dist/rc-slider.css';

to:

import 'rc-slider/assets/index.css';

So it works well with this importation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Slider CodeSandbox and the Marks and Slider demos on slider-react-component.vercel.app, then inspect where the demo imports rc-slider CSS. Update the documentation examples so they use the working import path, and verify that the affected CodeSandBoxes open without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.