"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"build": "node build/build.js"
},
1、mac下面输入 cmd p ,window下面输入 ctrl p
2、输入 task(task 后有空格)
3、选择命令运行npm:dev
4、选择继续而不扫描任务输出等
"Vue component": {
"prefix": "vuec",
"body": [
"<template>",
"\t$1",
"</template>",
"<script>",
"export default {",
"\t",
"}",
"</script>",
"<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>",
"</style>",
""
]
}
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |