@spartez/vue-atlaskit-next

0.1.27 • Public • Published

@spartez/vue-atlaskit

Rollup badge Jest Vue Storybook Npm badge

Unofficial Vue UI library, built according to the Atlassian Design Guidelines.

Installation

npm install @spartez/vue-atlaskit

ES6

//
// Register a component manually for optimal tree shaking
//
import { Spinner } from '@spartez/vue-atlaskit';

export default {
  components: {
    Spinner
  },
};

Browser

<script src="path/to/vue/vue.min.js"></script>
<script src="https://unpkg.com/@spartez/vue-atlaskit/dist/index.min.js"></script>
<!-- Components are registered globally -->

After that, you can use it in your templates:

<script>
  new Vue({
      el: '#app',
      template: `<Button>{{hello}}</Button>`,
      data: { hello: 'Click Me!' }
  })
</script>

For including styles you can either place the below styles in your index.html

<link href="https://unpkg.com/@spartez/vue-atlaskit/dist/bundle.css" rel="stylesheet">

Or you can import it to your webpack entry point file. This is usually your main.js file.

import '@spartez/vue-atlaskit/dist/bundle.css';

Contributing

See CONTRIBUTING.md.

/@spartez/vue-atlaskit-next/

    Package Sidebar

    Install

    npm i @spartez/vue-atlaskit-next

    Weekly Downloads

    1,730

    Version

    0.1.27

    License

    MIT

    Unpacked Size

    2.14 MB

    Total Files

    200

    Last publish

    Collaborators

    • aleksanderciesielski
    • akila_amarasekara
    • murthy_appfire
    • pdobrzanski
    • vkizhaev
    • isspartez
    • lumat
    • marszall87
    • bzieba
    • spartez-private
    • abilicz
    • mnykiel
    • sebastianmialkowski