Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !10223

Change node-sass to sass

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/guoyunhe/patch-1 into master 4 years ago
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: guoyunhe

sass is now the recommended SaSS implementation and it is well supported by sass-loader.

Compare
  • master (base)

and
  • latest version
    1bbf3714
    1 commit, 2 years ago

1 file
+ 3
- 3

    Preferences

    File browser
    Compare changes
docusaurus/docs/adding-a-sass-stylesheet.md
+ 3
- 3
  • View file @ 1bbf3714


@@ -10,12 +10,12 @@ Generally, we recommend that you don’t reuse the same CSS classes across diffe
Following this rule often makes CSS preprocessors less useful, as features like mixins and nesting are replaced by component composition. You can, however, integrate a CSS preprocessor if you find it valuable.
To use Sass, first install `node-sass`:
To use Sass, first install `sass`:
```sh
$ npm install node-sass --save
$ npm install sass --save
$ # or
$ yarn add node-sass
$ yarn add sass
```
Now you can rename `src/App.css` to `src/App.scss` and update `src/App.js` to import `src/App.scss`.
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: http-party/node-http-proxy!1361
Source branch: github/fork/guoyunhe/patch-1

Menu

Explore Projects Groups Snippets