文档模板,组件模板,扩展模板,按需使用
通过type 区分不同场景
<template> <x-button>default</x-button> <x-button type="primary">primary</x-button> <x-button type="success">success</x-button> <x-button type="info">info</x-button> <x-button type="warning">warning</x-button> <x-button type="danger">danger</x-button> </template>
nginx常用配置 扩展switch