Skip to content

Use sass for styles #4

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

Merged
merged 4 commits into from
May 22, 2017
Merged

Use sass for styles #4

merged 4 commits into from
May 22, 2017

Conversation

CYBAI
Copy link
Contributor

@CYBAI CYBAI commented May 21, 2017

Scss files under styles folder are compiled from public/less.

Scss files under `styles` folder are compiled from `public/less`.
@@ -1,6 +1,8 @@
import React, { Component } from 'react';
import { connect } from 'react-redux'

import "../styles/styles.scss";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's wired... why eslint allow double quotes

Copy link
Contributor Author

@CYBAI CYBAI May 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh... I didn't notice that.
Let me fix it.

BTW, seems that the react-app eslint rules allow both no-semi and semi.
(Check line 2)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated for single quotes; I also add the webpack alias for styles.

Besides, let's fix the eslint issue in another PR?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix eslint on another PR,
and I recommend use resolve.modulesDirectories to solve all the problem about require() relative path hell.

@AllenFang AllenFang merged commit 32c1dae into revamp-with-react:phase-1 May 22, 2017
@AllenFang AllenFang added this to the 0.1.0-alpha.1 milestone Jun 13, 2017
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

Successfully merging this pull request may close these issues.

2 participants