linna-vue

0.8.7 • Public • Published

linna-vue

See components/

Install dependencies:

npm i linna-vue linna-sass linna-util lodash-es date-fns

Some components might depend on modules from other packages:

npm i markdown-it vue-slider-component

Use components in your .vue files:

import ClickButton from 'linna-vue/components/ClickButton.vue'

export default {
  components: {
    ClickButton
  }
}

components/ are NOT built during install. You must transpile them yourself in your project.

Composables

See composables/

nuxt.config

See nuxt.config/

Nuxt module

Install as a Nuxt module to auto-import components and composables:

export default {
  modules: [
    'linna-vue/nuxt'
  ]
}

Or use the nuxt.config helper linna, which does the same thing.

Todo

  • [x] Icon component
  • [x] Add persist composable
  • [x] Add NuxtApp component
  • [ ] Add NuxtPage component
  • [ ] Add tests
  • [ ] Make test watcher the dev command
  • [ ] Set test command as default in codesandbox
  • [ ] modelValue composable
  • [ ] Make Textfield support custom content and not just icons

Readme

Keywords

none

Package Sidebar

Install

npm i linna-vue

Weekly Downloads

5

Version

0.8.7

License

MIT

Unpacked Size

166 kB

Total Files

102

Last publish

Collaborators

  • eiskis