Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Import UI library modularized in nuxtjs

<script>
import { Menu, Icon } from 'ant-design-vue'
export default {
  name: 'DefaultLayout',
  components: {
    'a-menu': Menu,
    'a-menu-item': Menu.Item,
    'a-menu-item-group': Menu.ItemGroup,
    'a-sub-menu': Menu.SubMenu,
    'a-icon': Icon
  }
}
</script>
 
PREVIOUS NEXT
Tagged: #Import #UI #library #modularized #nuxtjs
ADD COMMENT
Topic
Name
7+4 =