@spartez/vue-atlaskit

0.3.8 • 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.

Readme

Keywords

Package Sidebar

Install

npm i @spartez/vue-atlaskit

Weekly Downloads

186

Version

0.3.8

License

MIT

Unpacked Size

5.62 MB

Total Files

997

Last publish

Collaborators

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