This repository was archived by the owner on Sep 24, 2020. It is now read-only.
This repository was archived by the owner on Sep 24, 2020. It is now read-only.
Possibility to use scoped styles #34
Open
Description
Hey, first of all awesome work on this template!
I was wondering if there will be support for scoped styles in the future?
Because *.vue
files already natively support <style scoped src="./nameOfComponent.scss"></style>
.
I mean I love the way the import "./nameOfComponent.scss"
works but maybe add styles as a component parameter just like template.
Proposed idea:
@Component({
template: require('./home.html'),
styleUrls: [ './home.scss', './secondHomeStyles.scss' ] //how angular2 does it
})
or this way
@Component({
template: require('./home.html'),
style: require('./home.scss') //an approach more similar to the template.
})
I don't know if this is at all feasible or if there's already a workaround that doesn't involve switching to vue files.
Metadata
Metadata
Assignees
Labels
No labels