日期:2020-05-20 阅读:651
dmandwp系统 - wordpress系统和DM系统区块建站>>
https://cli.vuejs.org/zh/guide/installation.html
npm install -g @vue/cli
# OR
yarn global add @vue/cli
npm安装yarn
http://www.tvdrupal.com/detail-887.html
--------
vue --version查看
然后创建vue
不要用vue ui,试了下,不好用,太卡了,还报错。不如命令行。
vue create vuedemo
提示选择,可以选择yarn安装
然后启动: yarn serve
yarn build 布署。
安装vuex: yarn add vuex
--------
For a guide and recipes on how to configure / customize this project,
check out the vue-cli documentation.