问题
I have started using Vuetify to add ui-components and use pre-defined layouts. The problem is that I have to look into online-docs every now and then, and requires me to be connected to internet perpetually.
Is there a way to get offline docs for Vuetify? Like an html built with doxygen/javadocs, or a CHM? PDF? LaTEX? Anything really helps.
回答1:
Update
git clone https://github.com/vuetifyjs/vuetifyjs.com.git
has become a private project. The docs are now in the packages/docs/
directory. Instructions have been updated.
You can download the project from the vuetifyjs site repo, install and run locally.
git repo: https://github.com/vuetifyjs/vuetify
The instructions (for vue-cli-2 based project):
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
回答2:
See the docs on how to run the docs.
git clone https://github.com/vuetifyjs/vuetify.git
cd vuetify
yarn
yarn build
yarn dev docs
Then head over to http://localhost:8095/en/getting-started/quick-start
回答3:
git clone https://github.com/vuetifyjs/vuetify.git
yarn
yarn build
yarn start
http://localhost:8095
回答4:
- download zip from https://github.com/vuetifyjs/vuetify
- extract it to any place like i put it in d:\xampp\htdcos\vuetify-master
- than open command prompt (cmd) and type this path d:\xampp\htdcos\vuetify-master
- run this command yarn here D:\xampp\htdocs\vuetify-master>yarn
- than run yarn build here D:\xampp\htdocs\vuetify-master>yarn build
- than yarn start here D:\xampp\htdocs\vuetify-master>yarn start
- it will start vuetify local docs at 0.0.0.0:8095
- now open browser and type http://localhost:8095 and enjoy
node module is required also install yarn from https://yarnpkg.com/lang/en/docs/install/#windows-stable before running yarn commands and make sure check yarn version in cmd via yarn -v
来源:https://stackoverflow.com/questions/51292967/vuetify-offline-docs