qxn
V2EX  ›  Angular

整理了一下 angularJs 的 webpack 模板

  •  
  •   qxn · Jun 23, 2019 · 5448 views
    This topic created in 2533 days ago, the information mentioned may be changed or developed.

    github 地址: https://github.com/qianxiaoning/demo-angularJs1.7.5 欢迎大家 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 模板文件
    
    4 replies    2019-07-13 15:27:50 +08:00
    rrfeng
        1
    rrfeng  
       Jun 23, 2019
    AngularJS 都变 Angular 8 了
    WittBulter
        2
    WittBulter  
       Jun 23, 2019
    下意识的看了一眼发帖时间...
    qxn
        3
    qxn  
    OP
       Jul 13, 2019
    @WittBulter 哈哈,整理了一下
    qxn
        4
    qxn  
    OP
       Jul 13, 2019
    @rrfeng 是啊,这是以前的技术了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   845 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:56 · PVG 05:56 · LAX 14:56 · JFK 17:56
    ♥ Do have faith in what you're doing.