Vuetify Offline Docs

邮差的信 提交于 2021-01-21 12:24:16

问题


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:


  1. download zip from https://github.com/vuetifyjs/vuetify
  2. extract it to any place like i put it in d:\xampp\htdcos\vuetify-master
  3. than open command prompt (cmd) and type this path d:\xampp\htdcos\vuetify-master
  4. run this command yarn here D:\xampp\htdocs\vuetify-master>yarn
  5. than run yarn build here D:\xampp\htdocs\vuetify-master>yarn build
  6. than yarn start here D:\xampp\htdocs\vuetify-master>yarn start
  7. it will start vuetify local docs at 0.0.0.0:8095
  8. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!