Lukas Werner
Lukas Werner

Reputation: 1

Try to get the vuetify docs run local

I try to make the vuetify docs available on my mac local.

I followed the steps in this post: https://stackoverflow.com/a/51293026/15037167

cd /tmp/
git clone https://github.com/vuetifyjs/vuetify.git
cd vuetify/packages/docs
yarn

# option 1 - build and serve
yarn build
yarn start

# option 2 - run dev instance
yarn dev

Every thing works until the step "type: yarn dev".

error: Cannot find module '/vue/vuetify/node_modules/vuetify/dist/vuetify.js'. Please verify that the package.json has a valid "main" entry

I already had problems with the step "type yarn" but I solved this with downgrading node like mentioned in the linked post.

Any ideas?

Upvotes: 0

Views: 573

Answers (1)

SaigyoujiYuyuko
SaigyoujiYuyuko

Reputation: 53

It seem like you have to install vuetify. (Confuse why I need to install vuetify inside vuetify's source code).

Work around:

yarn add @nuxtjs/vuetify -D
# or
npm install @nuxtjs/vuetify -D

Upvotes: 1

Related Questions