Cans 1.0

快速构建单页应用的工具链(toolchain)

$ tnpm i @ali/cans-init -g


$ cans-init my-app && cd my-app && npm start
"scripts": {
  "start": "cans start",
  "build": "cans build",
  "deploy": "cans deploy --staticDir ../server/app/public"
},
"dependencies": {
  "@ali/cans": "^1.2.1",
  "@ali/cans-cli": "^1.0.0",
}

deck

By Randy Lu

Loading comments...

More from Randy Lu