1.5.2 • Published 11 months ago

@yicode/yibase v1.5.2

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

yibase - (yite-cli + vue3)基础模板

基于 yite-cli驱动的 vite + vue3 项目基础开发模板

自动导入

需要安装好以下依赖

  • @arco-design/web-vue
  • @arco-plugins/vite-vue
// yite.config.js 配置文件

import { vitePluginForArco } from '@arco-plugins/vite-vue';
export const yiteConfig = {
    devtool: false,
    // 自动导入解析
    autoImport: {
        resolvers: [
            {
                name: 'ArcoResolver',
                options: {}
            }
        ],
        imports: [
            {
                '@arco-design/web-vue': [
                    //
                    'Message',
                    'Modal',
                    'Notification',
                    'Drawer'
                ]
            }
        ]
    },
    // 自动组件解析
    autoComponent: {
        resolvers: [
            {
                name: 'ArcoResolver',
                options: {
                    sideEffect: true
                }
            }
        ]
    },
    // webpack 配置
    viteConfig: {
        plugins: [
            vitePluginForArco({
                style: 'css'
            })
        ],
        optimizeDeps: {
            include: [
                //
                'lodash-es',
                'vue-i18n',
                'axios',
                '@arco-design/web-vue'
            ]
        }
    }
};

需要安装好以下依赖

  • element-plus
// yite.config.js 配置文件

export const yiteConfig = {
    devtool: false,
    // 自动导入解析
    autoImport: {
        resolvers: [
            {
                name: 'ElementPlusResolver',
                options: {}
            }
        ]
    },
    // 自动组件解析
    autoComponent: {
        resolvers: [
            {
                name: 'ElementPlusResolver',
                options: {}
            }
        ]
    },
    // webpack 配置
    viteConfig: {
        optimizeDeps: {
            include: [
                //
                'lodash-es',
                'vue-i18n',
                'axios',
                'element-plus',
                'element-plus/es'
            ]
        }
    }
};
1.5.2

11 months ago

1.5.1

11 months ago

1.5.0

11 months ago

1.4.18

11 months ago

1.4.13

11 months ago

1.4.12

12 months ago

1.4.14

11 months ago

1.4.11

12 months ago

1.4.10

1 year ago

1.4.9

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.4

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago