摘要: var path = require('path'); var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); //定义了一些文件夹的路径 var ROOT_PATH = path.resolve(__dirname,'src'); // var APP_... 阅读全文
posted @ 2017-05-16 23:09 陆漫漫 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 一、配置webpack 二、各种依赖库 三、webpack本身 四、webpack配置文件(webpack.config.js) 五、配置babel(.baberc文件) 六、附一份webpack+angularjs项目的package.json文件 阅读全文
posted @ 2017-05-16 23:01 陆漫漫 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 自定义指令 页面中调用 页面中获取数据的方法是queryList,go-page的时候把currentpage作为传递过去即可发送请求,取得想要的结果。 controller中需要传入初始化的数据 阅读全文
posted @ 2017-05-16 21:22 陆漫漫 阅读(1332) 评论(0) 推荐(0) 编辑