This repository has been archived by the owner on Mar 15, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(glob): we now use glob pattern that let us exclude components we…
… dont want close #10
- Loading branch information
f3ltron
committed
May 30, 2019
1 parent
c91ccaf
commit ded74f5
Showing
20 changed files
with
1,109 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<h1>justpreviewcss</h1> | ||
</template> | ||
|
||
<style scoped> | ||
h1 { | ||
background: red; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<div> | ||
<h1>justpreviewscss</h1> | ||
<h2>test import</h2> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@import "./test.scss"; | ||
h1 { | ||
background: red; | ||
} | ||
</style> | ||
|
||
<docs> | ||
<justpreviewscss /> | ||
</docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
h2 { | ||
background: blue; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script> | ||
export default { | ||
name: 'MdButton', | ||
props: { | ||
someProp: { | ||
type: String, | ||
default: "" | ||
} | ||
}, | ||
render(createElement) { | ||
return createElement( | ||
'div', { }, | ||
[ | ||
createElement('button', this.someProp) | ||
] | ||
) | ||
} | ||
} | ||
</script> | ||
|
||
<docs> | ||
<subwithrender /> | ||
</docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script> | ||
import simpleMixin from '../mixins/simple'; | ||
import subwithrender from './subComponents/subwithrender'; | ||
export default { | ||
name: 'MdButton', | ||
mixins: [simpleMixin], | ||
computed: { | ||
bigText() { | ||
return "big Text"; | ||
} | ||
}, | ||
render(createElement) { | ||
return createElement( | ||
'div', { }, | ||
[ | ||
createElement('h1', this.text), | ||
createElement('h1', this.bigText), | ||
createElement(subwithrender, { | ||
props: { | ||
someProp: 'i am a sub component with props' | ||
} | ||
}) | ||
] | ||
) | ||
} | ||
} | ||
</script> | ||
|
||
<docs> | ||
<withrender /> | ||
</docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template functional> | ||
<div> | ||
<h1>Hello {{props.text}}</h1> | ||
</div> | ||
</template> | ||
|
||
|
||
<script> | ||
export default { | ||
props: { | ||
text: { | ||
type: String, | ||
default: "" | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<docs> | ||
<withtemplate /> | ||
</docs> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
data() { | ||
return { | ||
text: "Hello vuejs lovers" | ||
} | ||
} | ||
} |
Oops, something went wrong.