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.
See composables/
See nuxt.config/
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.
-
Icon
component - Add
persist
composable - 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