babyblue
V2EX  ›  Vue.js

vuepress 为啥改不了主题?

  •  
  •   babyblue · Nov 8, 2020 · 2803 views
    This topic created in 2190 days ago, the information mentioned may be changed or developed.

    yarn add vuepress-theme-antdocs 或者使用 npm 安装它, npm i vuepress-theme-antdocs,

    然后 config.js 里配置后运行,为啥一点变化没有?这么难吗?

    5 replies  •  2020-11-09 20:28:55 +08:00
    rodrick
    rodrick
    Nov 9, 2020
    1
    我用的 vuepress-theme-reco 安装使用都挺正常,应该不是 vuepress 的问题,可能是主题问题?
    shabbyin
    shabbyin
    Nov 9, 2020
    2
    把下载下来的主题拖到 themes 里面了吗
    babyblue
    babyblue
    OP
    Nov 9, 2020 via Android
    3
    @gyjames95 还用拖进去么? 说明文档里没写这一步啊
    ruoxie
    ruoxie
    Nov 9, 2020
    4
    我也用的 vuepress-theme-antdocs,core-js 必须 2.6.11 ,文档有说
    babyblue
    babyblue
    OP
    Nov 9, 2020
    5
    删了.vuepress 下的 theme,重新运行就好了 ,汗 谢谢大家
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1663 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:04 · PVG 21:04 · LAX 05:04 · JFK 08:04
    ♥ Do have faith in what you're doing.