1.1.6 • Published 5 months ago

meixicli v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

meixicli

通过命令行快速搭建前端项目的脚手架。

项目结构

    |-- bin   
    |   |-- index.js -----------------------------脚步入口文件
    |-- scripts ----------------------------------生产文件的脚步代码
    |   |-- checkUpdate.js
    |   |-- createTemplate.js
    |   |-- log.js
    |-- template ---------------------------------用于存放模版的文件夹
        |-- meixi-vue2 ---------------------------目前只有vue2版,之后考虑其它项目
            |-- .DS_Store
            |-- .editorconfig
            |-- .env
            |-- .env.beta
            |-- .env.prod
            |-- .gitignore
            |-- .prettierrc
            |-- README.md
            |-- babel.config.js
            |-- jsconfig.json
            |-- package-lock.json
            |-- package.json
            |-- vue.config.js
            |-- public
            |   |-- .DS_Store
            |   |-- favicon.ico
            |   |-- index.html
            |   |-- robots.txt
            |   |-- img
            |       |-- logo.png
            |       |-- icons
            |           |-- android-chrome-192x192.png
            |           |-- android-chrome-512x512.png
            |           |-- android-chrome-maskable-192x192.png
            |           |-- android-chrome-maskable-512x512.png
            |           |-- apple-touch-icon-120x120.png
            |           |-- apple-touch-icon-152x152.png
            |           |-- apple-touch-icon-180x180.png
            |           |-- apple-touch-icon-60x60.png
            |           |-- apple-touch-icon-76x76.png
            |           |-- apple-touch-icon.png
            |           |-- favicon-16x16.png
            |           |-- favicon-32x32.png
            |           |-- msapplication-icon-144x144.png
            |           |-- mstile-150x150.png
            |           |-- safari-pinned-tab.svg
            |-- src
                |-- .DS_Store
                |-- App.vue
                |-- main.js
                |-- registerServiceWorker.js
                |-- assets
                |   |-- .DS_Store
                |   |-- image
                |   |   |-- logo.ico
                |   |-- svgs
                |       |-- .DS_Store
                |       |-- index.js
                |       |-- svgo.yml
                |       |-- svg
                |           |-- 404.svg
                |           |-- Excel.svg
                |           |-- Exe.svg
                |           |-- PPT.svg
                |           |-- Pdf.svg
                |           |-- Word.svg
                |           |-- img.svg
                |           |-- login1.svg
                |           |-- login2.svg
                |           |-- login3.svg
                |           |-- logo-full.svg
                |           |-- logo-small.svg
                |           |-- music.svg
                |           |-- no-content.svg
                |           |-- no-data.svg
                |           |-- no-message.svg
                |           |-- no-record.svg
                |           |-- no-search.svg
                |           |-- shipin.svg
                |           |-- txt.svg
                |           |-- weizhiwenjian.svg
                |           |-- yasuobao.svg
                |-- components -------------------------------用于存放该子系统的公共组件
                |   |-- .DS_Store
                |   |-- base
                |   |   |-- brieflyItem.vue
                |   |   |-- themeItemBox.vue
                |   |   |-- titleTimeTag.vue
                |   |-- drawerInfoBar
                |   |   |-- drawerInfoBar.vue
                |   |-- editor
                |   |   |-- editorCss.js
                |   |   |-- index.less
                |   |   |-- index.vue
                |-- config
                |   |-- .DS_Store
                |   |-- element.js
                |   |-- request.js
                |   |-- responceError.js
                |   |-- uploadRequest.js
                |   |-- useMeixiOaComponent.js
                |   |-- usemeixiPackage.js
                |   |-- vueDirective.js
                |   |-- api ----------------------------------存放子系统中的网络请求按下面的结构进行存放
                |   |   |-- other.js
                |   |   |-- adminmanage
                |   |   |   |-- apiAccount.js
                |   |   |   |-- apiOfDepart.js
                |   |   |   |-- apiOfHelpMenu.js
                |   |   |   |-- apiOfMenu.js
                |   |   |   |-- apiOfNotify.js
                |   |   |   |-- apiOfStaff.js
                |   |   |-- application
                |   |       |-- apiOfApplication.js
                |   |-- appMainConfig
                |   |   |-- initAppMain.js
                |   |-- dict
                |   |   |-- dict.js
                |   |-- request
                |   |   |-- UseRequest.js
                |   |-- selectStore
                |       |-- refundTypeStore.js
                |       |-- registerStore.js
                |-- pages
                |   |-- .DS_Store
                |   |-- 404
                |   |   |-- index.vue
                |   |-- dashboard
                |   |   |-- base
                |   |       |-- index.vue
                |   |       |-- components
                |   |           |-- brieflyItemWrap.vue
                |   |           |-- customMember.vue
                |   |           |-- saleBriefly.vue
                |   |           |-- saleBrieflyItem.vue
                |   |-- setting
                |   |   |-- settingAccount
                |   |   |   |-- index.vue
                |   |   |   |-- components
                |   |   |       |-- settingAccountForm.vue
                |   |   |       |-- verifyEmail.vue
                |   |   |-- settingConfig
                |   |   |   |-- index.vue
                |   |   |-- settingPassword
                |   |       |-- index.vue
                |   |       |-- components
                |   |           |-- settingPasswordForm.vue
                |   |-- test  ---------------------------------------------对应目录
                |       |-- testChildren ----------------------------------对应菜单
                |           |-- index.vue ---------------------------------页面入口文件
                |           |-- components --------------------------------页面需要用到的组件
                |           |   |-- testForm.vue
                |           |   |-- testTable.vue
                |           |-- js ----------------------------------------存放页面js逻辑
                |               |-- TestConfig.js
                |               |-- apiOfTest.js
                |-- router
                |   |-- index.js
                |   |-- permission.js
                |-- store
                |   |-- .DS_Store
                |   |-- getters.js
                |   |-- index.js
                |   |-- module
                |       |-- app.js
                |       |-- component.js
                |       |-- permissionRouter.js
                |       |-- user.js
                |-- style
                |   |-- index.less
                |-- utils -----------------------------------------------公共方法
                    |-- asyncRouter.js
                    |-- elementValidate.js
                    |-- upload.js
                    |-- utils.js
                    |-- use
                        |-- useSelectStaff.js

安装依赖

npm install meixicli -g

使用插件

//任意端口输入以下命令
meixicli
1.1.6

5 months ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago