1.3.13 • Published 8 months ago

@treevia/smartforest-ui v1.3.13

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Smartforest UI Logo

Biblioteca oficial de componentes de UI dos produtos Treevia. Disponível para Vue.js & Nuxtjs.

📃 Documentação

Leia a Documentação Online

ou acesse localmente:

npm run docs:dev

🦮 Guia de Início

⬇️ Instalação

npm install @treevia/smartforest-ui@latest

🍃 Tailwind

Configure normalmente o Tailwind de acordo com o framework

Vue 3

//main.{ts,js}

import { createSUI } from '@treevia/smartforest-ui'
import { createApp } from 'vue'
import App from './App.vue'
import './style.css'

createApp(App).use(createSUI()).mount('#app')
//tailwind.config.js

const smartforestui = require('@treevia/smartforest-ui/tailwind.preset')

module.exports = {
  content: [
    "./index.html",
    "./src/**/*.{vue,js,ts,jsx,tsx}",
    'node_modules/@treevia/smartforest-ui/{lib,src}/**/*'
  ],
  presets: [
    smartforestui(),
  ],
}

Use em SFC

<script>
import {SFButton } from "@treevia/smartforest-ui"
</script>

Nuxt 3

/* assets/tailwind.css */

@tailwind base;
@tailwind components;
@tailwind utilities;
//nuxt.config.{ts,js}

export default defineNuxtConfig({
  devtools: { enabled: true },
  modules: ['@treevia/smartforest-ui/nuxt'],
  css: ['~/assets/tailwind.css'],
  build: {
    transpile: ['@treevia/smartforest-ui'],
  },
  postcss: {
    plugins: {
      'tailwindcss/nesting': {},
      tailwindcss: {},
      autoprefixer: {},
    },
  },
})
1.3.13

8 months ago

1.3.12

9 months ago

1.3.11

9 months ago

1.3.10

10 months ago

1.3.9

10 months ago

1.3.8

10 months ago

1.3.7

10 months ago

1.3.6

10 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.3.3

10 months ago

1.3.2

10 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.30

11 months ago

1.2.18

12 months ago

1.2.19

12 months ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.20

12 months ago

1.2.23

12 months ago

1.2.24

12 months ago

1.2.21

12 months ago

1.2.22

12 months ago

1.2.27

11 months ago

1.2.28

11 months ago

1.2.25

11 months ago

1.2.26

11 months ago

1.2.29

11 months ago

1.2.9

1 year ago

1.2.12

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.16

12 months ago

1.2.17

12 months ago

1.2.14

1 year ago

1.2.15

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.1.2

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago