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

SCSS partials and globals import limited. #2

Open
davewallace opened this issue Apr 24, 2018 · 1 comment
Open

SCSS partials and globals import limited. #2

davewallace opened this issue Apr 24, 2018 · 1 comment
Assignees

Comments

@davewallace
Copy link
Owner

Preferably I'll have:

  • Partials (eg; _variables.scss) @imported into one or more core files (eg; reset.scss)
  • Core files @imported into a given view

There seems to be no built in way of handling this in vue-cli's output to date, potential solutions listed here.

@davewallace davewallace self-assigned this Apr 24, 2018
davewallace added a commit that referenced this issue Apr 24, 2018
An apparent limitation of vue-cli's SASS processing means we need to create a
new webpack loader to handle .scss partials. Potential solutions noted on issue
#2

For now, manually include core files in a basic assumed order.
@davewallace
Copy link
Owner Author

Another result of the current setup is that, at least in dev mode, CSS is output multiple times (once per time declared within any components).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant