vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.
MIT License
306 stars 109 forks source link

Install not working with Cli version 3 #48

Open bujji1 opened 6 years ago

bujji1 commented 6 years ago

My vue version - 3.0.0-rc.10

The command vue init vuetifyjs/nuxt myproj throwing the below error

Command vue init requires a global addon to be installed. Please run yarn global add @vue/cli-init and try again.

I changed the command to vue create vuetifyjs/nuxt mypro according to new Vue documents but now getting the below errors

Invalid project name: "vuetifyjs/nuxt" name can only contain URL-friendly characters

Could any one help me on this to install Vuetify Nuxt template ..?

Thank You

bujji1 commented 6 years ago

Installing @vue/cli-init also resolved the issue . Here are the steps

1) npm install -g @vue/cli @vue/cli-init
2) vue init vuetifyjs/nuxt my-project 
3) cd my-project   
4) npm install

Please let us know if there is any better way , because @vue/cli-init in fact creating to use version 2 directly in version 3

bretonio commented 5 years ago

I installed cli-init and followed your lead but running npm run dev I repeatedly receive the error Cannot read property 'eslint' of undefined ... So I run npm run build and-or nuxt build and receive no errors. And then I run my app on a port other than the default: PORT=5555 npm run start ... and there is joy ... it works also with npm run dev which equals nuxt build followed by nuxt start ... happy to provide config info ...

VidyasagarMSC commented 5 years ago

@bretonio Facing the same issue and your workaround worked like a charm. Thanks.