avalon+webpack脚手架启用后css
webstorm-apicloud html
http://docs.apicloud.com/Dev-Tools/webStorm-apicloud-pluginjava
放置 项目 > 项目里面的 src img css index.html index.js ...... + webStorm-APICloud (apicloud 不用 name+version 进组件)node
webStorm-APICloud 里面的 .jar 须要java环境支持 (cannot run program “java”)webpack
cmd jar 看有没有 java 环境web
配置 webstorm 配置 Android 真机同步 + 海马玩模拟器npm
APICloud 要求有 config.xml 配置文件api
与index.html 同级 增长 配置文件 webstorm
在webpack.config 里面建立 ui
new HtmlWebpackPlugin({
filename:'config.xml',
template: __dirname + "/src/config.xml",
inject:false
})
dist文件 全部组件加载(npm install)后 ---- 出现文件 node_modules(组件再加于此)
node_modules 进行打包 npm 进行 build dev 出现 dist 文件
dist 进行 安卓真机同步
html 页面要用的 css 在该html页面的 js 文件夹中 require 进来