Skip to content

Commit

Permalink
chore: fix example (#230)
Browse files Browse the repository at this point in the history
I thought it was a core error, but testing and testing I see the problem is not in the core.

The problem is the example, I thought create a warning (#228), but i see the code of vue-cli-plugin and this plugins append the styles.sass in the bottom of all prependData.

https://github.com/vuetifyjs/vue-cli-plugin-vuetify/blob/master/packages/vue-cli-plugin-vuetify/util/helpers.js#L47
  • Loading branch information
MrJmpl3 authored and kevinmarrec committed Jan 10, 2020
1 parent 119b65b commit 003f372
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ Usage example :
$btn-border-radius: 0px;

// If you need to extend Vuetify SASS lists
$material-light: ( cards: blue );

@import '~vuetify/src/styles/styles.sass';
$material-light: map-merge($material-light, ( cards: blue ));
```

```js
Expand Down

1 comment on commit 003f372

@t1mwillis
Copy link

@t1mwillis t1mwillis commented on 003f372 Jan 11, 2020

Choose a reason for hiding this comment

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

I think it might be helpful to include a few other types of extensions here, maybe something that includes breakpoints and headings?

$headings: 
  (
    'h1' : (
      'size': 6rem,
      'weight': 100,
      'line-height': 6.25rem,
      'letter-spacing': normal
    )
  );

Please sign in to comment.