how to enable vue cli auto open the localhost url
how to enable vue cli auto open the localhost URL
bad
you must click the link by manually, waste of my time
good
auto open the localhost URL, as create-react-cli did
solution
// package.json
"scripts": {
"dev": "yarn open && yarn serve",
"open": "open http://localhost:8080/",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint"
},
# ✅🚀👍🎉
$ yarh dev
Jest
https://cli.vuejs.org/config/#jest
refs
issues
https://new-issue.vuejs.org/?repo=vuejs/vue-cli
https://stevencotterill.com/snippets/vue-cli-using-a-custom-domain/
https://www.sitepoint.com/vue-cli-intro/v
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14045592.html
未经授权禁止转载,违者必究!