How to install vuetify 2.0 beta to the new vue cli project?

后端 未结 2 1868
滥情空心
滥情空心 2020-11-30 10:25

Vuetify 2.0.0-beta.0 has just been released and I want to try it out and play around in a new vue test application. But I get errors when I try to install it in a fresh new

2条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 11:19

    After creating a new fresh vue project follow those commands:

    # yarn
    $ yarn add https://github.com/vuetifyjs/vue-cli-plugin-vuetify.git#dev -D
    $ vue invoke vuetify
    
    # npm
    $ npm install https://github.com/vuetifyjs/vue-cli-plugin-vuetify.git#dev --save-dev
    $ vue invoke vuetify
    

    I think it will even work with the project you have already created. Just try the commands above.

    For more check v2.0.0-beta.0 release

提交回复
热议问题