qxn
V2EX  ›  Vue.js

自己花了 2 天时间,重新整理了个全面的 vue2 的模板

  •  
  •   qxn ·
    qianxiaoning · Nov 9, 2018 · 2378 views
    This topic created in 2798 days ago, the information mentioned may be changed or developed.

    自己花了 2 天时间,重新整理了个全面的 vue2 的模板,基本 vue 中需要的部分都整理封装好了,希望大家喜欢^ ^。欢迎大家 star 或者 fork 呀~,https://github.com/qianxiaoning/template-elementUi-sass-vue2

    以下是涉及到的点

    • config-index.js 设置 proxyTable 请求代理
    • src-components 功能组件
    • src-config 常用参数
    • src-eventBus 事件总线
    • src-filters 全局过滤器
    • src-http-http 封装的 axios 请求+请求 loading+状态提示
    • src-http-urls 封装的所有接口地址
    • src-pages 页面组件
    • src-router 路由集成表
    • src-structures 结构组件
    • src-utils 全局函数
    • src-vuex 状态管理集成
    • src-main.js 入口函数
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   939 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:16 · PVG 06:16 · LAX 15:16 · JFK 18:16
    ♥ Do have faith in what you're doing.