0.1.6 • Published 3 years ago

@snapatoms/vue v0.1.6

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

Vue Snapatoms

Part of the frontend Snapatoms project. This is the Vue component pack.

Installation

npm install @snapatoms/vue

That's it!

Component Overview

Slideshow

Import the slide, and let the slots take care of your content:

Script

<script>
import { Slideshow } from "@snapatoms/vue";
import { SlideshowItem } from "@snapatoms/vue";

export default {
  name: "App",
  components: {
    Slideshow,
    SlideshowItem,
  },
};
</script>

Template

<template>
    <div id="app">
        <Slideshow>
            <SlideshowItem>Test</SlideshowItem>
            <SlideshowItem>Test 1</SlideshowItem>
            <SlideshowItem>Test 2</SlideshowItem>
            <SlideshowItem>Test 3</SlideshowItem>
        </Slideshow>
    </div>
</template>

Styles

<style>
    @import "~/@snapatoms/vue";

    ...

</style>

Development

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago

0.1.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago