1.10.0 • Published 3 years ago

@carlosdevpereira/mr-components v1.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.9.2

3 years ago

1.10.0

3 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago