0.1.8 • Published 3 years ago

shelter-zone-ui v0.1.8

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Installation

# with npm
$ npm install shelter-zone-ui

# with yarn
$ yarn add shelter-zone-ui

Getting Start

By All components

// in main.js / main.ts
import { createApp } from 'vue'
import App from './App.vue'

import SZUI from 'shelter-zone-ui' // <- import SZUI
import 'shelter-zone-ui/dist/style.css' // <- import SZUI styles

const Vue = createApp(App)
Vue.use(SZUI) // <- use SZUI
Vue.mount("#app")

And then free to use anywhere in .vue component.


By Individual import

<!--in xxx.vue component file--> 
<template>
    <SZButton>Button</SZButton>
</template>

<script>
import { defineComponent } from 'vue'

import { SZButton } from 'shelter-zone-ui' // <- import individual component
import 'shelter-zone-ui/dist/style.css' // <- import styles

export default defineComponent({
  name: "App",
  components: {
    SZButton, // <- use component
  },
</script>
0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago