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

fix(renderer): explicitly import h renderer from vue. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion build.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-{{icon}}',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-{{icon}}',
'class': this.className,
Expand Down
5 changes: 5 additions & 0 deletions dist/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="1.0.20"></a>
## [1.0.20](https://github.com/IPRIT/md-svg-vue/compare/v1.0.19...v1.0.20) (2018-10-08)



<a name="1.0.19"></a>
## [1.0.19](https://github.com/IPRIT/md-svg-vue/compare/v1.0.18...v1.0.19) (2018-10-08)

Expand Down
3 changes: 3 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Advantages of this module in comparing to fonts, svg sprites, etc.
4. Great performance cause icons built on top of Vue functional components.
5. You can extend existing iconset with your icons. Just clone this repo and load your icons (each icon in separate svg file) to corresponding path.

This project could not have been possible without [BrowserStack](https://www.browserstack.com/).
<a href="https://www.browserstack.com/">![BrowserStack](https://www.browserstack.com/images/layout/browserstack-logo-600x315.png)]</a>

## How to use

Simply install it using npm or yarn:
Expand Down
4 changes: 3 additions & 1 deletion dist/action/Md3dRotation.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-3-d-rotation',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-3-d-rotation',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccessibility.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-accessibility',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-accessibility',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccessible.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-accessible',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-accessible',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccountBalance.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-account-balance',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-account-balance',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccountBalanceWallet.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-account-balance-wallet',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-account-balance-wallet',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccountBox.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-account-box',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-account-box',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAccountCircle.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-account-circle',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-account-circle',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAddShoppingCart.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-add-shopping-cart',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-add-shopping-cart',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAlarm.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-alarm',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-alarm',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAlarmAdd.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-alarm-add',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-alarm-add',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAlarmOff.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-alarm-off',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-alarm-off',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAlarmOn.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-alarm-on',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-alarm-on',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAllOut.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-all-out',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-all-out',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAndroid.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-android',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-android',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAnnouncement.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-announcement',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-announcement',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAspectRatio.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-aspect-ratio',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-aspect-ratio',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssessment.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assessment',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assessment',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssignment.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assignment',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assignment',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssignmentInd.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assignment-ind',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assignment-ind',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssignmentLate.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assignment-late',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assignment-late',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssignmentReturn.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assignment-return',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assignment-return',
'class': this.className,
Expand Down
4 changes: 3 additions & 1 deletion dist/action/MdAssignmentReturned.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script>
import { h } from 'vue';

export default {
name: 'md-assignment-returned',

Expand All @@ -23,7 +25,7 @@
color: String
},

render (h) {
render () {
const data = {
staticClass: 'icon md-icon md-assignment-returned',
'class': this.className,
Expand Down
Loading