vxe-design-nuxt
Vxe Design Nuxt
Vxe Design module for Nuxt
Features
- Automatically import components and styles on demand.
Installation
npm install vxe-design-nuxt -D
Configuration
export default defineNuxtConfig({
modules: [
'vxe-design-nuxt'
],
vxeDesignSetting: { /** Options */ }
})
Usage
<template>
<div>
<vxe-form-design :widgets="formDesignWidgets" :height="800" />
</div>
</template>
<script>
export default {
data() {
const formDesignWidgets = [
{
group: 'base',
children: [
'VxeInput',
'VxeTextarea',
'VxeSelect',
'VxeSwitch',
'VxeRadioGroup',
'VxeCheckboxGroup'
]
}
]
return {
formDesignWidgets
}
}
}
</script>
Reference Nuxt documentation and playground use.
Development
- Run
npm run update ito install the dependencies. - Run
npm run runto start playground in development mode. - Run
npm run buildto build this project.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.2 | ^3.0 | MIT | |
| 1.0.1 | ^3.0 | MIT | |
| 1.0.0 | ^3.0 | MIT | |
| 0.1.1 | ^3.0 | MIT | |
| 0.1.0 | ^3.0 | MIT | |
| 0.0.2 | ^3.0 | MIT | |
| 0.0.1 | MIT |