整理了一下angularJs的webpack模板

github地址:https://github.com/qianxiaoni... 歡迎你們star或者fork呀~

  • 目錄結構
src/
    components/ 組件
    config/
        dict.js 一個全局變量的run方法
        router.js 路由表
        validation.js 'angular-validation'的config配置
    controllers/ 控制器
    data/ 數據mock文件
    directives/ 指令
    filters/ 過濾器
    image/ 圖片
    pages/ 頁面
    services/ 服務(公共方法)
    app.js 入口函數
    common.less 公共樣式文件
    index.html html模板文件
相關文章
相關標籤/搜索