npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sci-material-design

v0.1.11

Published

## Visão Geral

Downloads

25

Readme

SCI Material Design

Visão Geral

O SCI Material Design é uma biblioteca de componentes Vue.js que visa facilitar a criação de interfaces de usuário atraentes seguindo as diretrizes do Material Design do Google.

Instalação

1. Instale o Vue.js

Certifique-se de que você já tenha o Vue.js instalado em seu projeto. Caso contrário, você pode instalá-lo com o seguinte comando:

npm install vue
# ou
yarn add vue

2. Instale o SCI Material Design

Agora, instale o SCI Material Design com o seguinte comando:

npm install sci-material-design
# ou
yarn add sci-material-design

3. Instale as Dependências do Font Awesome e Material Design Icons (opcional)

Os ícones utilizados nos componentes dependem do Font Awesome e do Material Design Icons. Você pode instalar essas dependências com os seguintes comandos:

Para o Font Awesome:

npm install --save @fortawesome/fontawesome-free @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/vue-fontawesome

4. Importe os Componentes

Agora você pode importar os componentes do SCI Material Design em seu projeto. Por exemplo, em seu arquivo JavaScript principal (por exemplo, main.js):

import { createApp } from 'vue';
import App from './App.vue';
import { Button, Input } from 'sci-material-design';

const app = createApp(App);

app.component('Button', Button);
app.component('Input', Input);

app.mount('#app');

5. Use os Componentes

Agora você pode usar os componentes do SCI Material Design em seus arquivos Vue. Por exemplo, em um componente Vue:

<template>
  <div>
    <Button icon="user" color="primary" text="Click me" :radius="true" size="lg" @click="handleButtonClick">
      Entrar
    </Button>

    <Input color="primary" size="lg" radius placeholder="Digite seu texto" />
  </div>
</template>

<script>
import { Button, Input } from 'sci-material-design';

export default {
  components: {
    Button,
    Input
  },
  methods: {
    handleButtonClick() {
      alert('Botão clicado!');
    }
  }
};
</script>