Coder Social home page Coder Social logo

wb-ui's Introduction

开始使用

目录结构

.
├── components/                    // 组件目录
    ├──app/                        // 当前app相关组件
        ├── styles/                // 所有组件样式目录,全局使用,在App.vue里引入
    ├──wanbo/                      // 万博通用组件沉淀
        ├── styles/                // 所有组件样式目录,全局使用,在App.vue里引入
    ├──[others]/                   // 其他组件
├── config/                        // 配置文件目录
    ├──config.js                   // 配置文件主入口
    ├──config.base.js              // 通用配置
    ├──config.dev.js               // 开发配置
    ├──config.prod.js              // 线上配置
├── locales/                       // 国际化
└── pages/                         // 路由目录
    ├── index/                     // 页面目录
        ├── services/              // 子模块 接口目录
        ├── models/                // vuex 子modules
        ├── page1.vue              // 页面 1,任意命名
        ├── page2.vue              // 页面 2,任意命名
        └── page3.vue              // 页面 3,任意命名
├── services/                      // 全局 接口目录
├── static                         // 本地静态文件目录,小程序大小有限制,不推荐使用,浪费容量
├── store                          // vuex store 目录
        ├── modules/                // 子modules
        ├── plugins/               // vuex插件
        ├── index.js               // store 入口,引入各个子module
├── utils                          // 工具方法目录
        ├── helper.js              // 项目中用到的工具方法
        ├── request.js             // ajax请求封装
└── package.json

wb-ui's People

Contributors

fanyun-fu avatar

Stargazers

arden avatar

Watchers

James Cloos avatar bhz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.