1.10.0 • Published 2 years ago

@carlosdevpereira/mr-components v1.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Mr. Components Icon

Mr. Components

Tests Coverage License: MIT

Docs | @Next

Installation

The @mr-components package can be installed by running:

npm install --save-dev @carlosdevpereira/mr-components

How to use

To start using the components, you can either:

Register the components globally in your main.js file:

import App from './App.vue'
import { createApp } from 'vue'

import '@carlosdevpereira/mr-components/dist/style.css'
import UseMrComponents from '@carlosdevpereira/mr-components'
// other imports

let app = createApp(App)
UseMrComponents(app)

Register only the components you need:

import App from './App.vue'
import { createApp } from 'vue'

import '@carlosdevpereira/mr-components/dist/style.css'
import { Button, Checkbox } from '@carlosdevpereira/mr-components'
// other imports

let app = createApp(App)
app.component('Button', Button)
app.component('Checkbox', Checkbox)

Import the components directly in your Single File Components:

<template>
  <div>
    <button>Click me</button>
  </div>
</template>

<script>
import '@carlosdevpereira/mr-components/dist/style.css'
import { Button } from '@carlosdevpereira/mr-components'

export default {
  components: {
    Button,
  },

  // ...
}
</script>

Checkout the available components:

1.9.1

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.9.2

2 years ago

1.10.0

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago