Giter VIP home page Giter VIP logo

Comments (5)

kenberkeley avatar kenberkeley commented on June 19, 2024

按照正常逻辑,draft: true 的不应该被编译。
目前的实现是编译但不在页面显示:
https://github.com/meteorlxy/vuepress-theme-meteorlxy/search?q=draft&unscoped_q=draft

我的临时解决方案:开分支。。。dev 草稿,master 同步线上。。。

from vuepress-theme-meteorlxy.

kenberkeley avatar kenberkeley commented on June 19, 2024

Related #63

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on June 19, 2024

是的。。

我一开始是把 draft 扔在别的文件夹里的,也可以避免被编译。

后面觉得 draft 在写的时候应该也有预览需求,放在 _posts 文件夹里面方便一点。

理想的状态是在 dev 时编译 draft ,build 时忽略 draft?

from vuepress-theme-meteorlxy.

kenberkeley avatar kenberkeley commented on June 19, 2024

@meteorlxy 是的。。。

from vuepress-theme-meteorlxy.

meteorlxy avatar meteorlxy commented on June 19, 2024

Pending for vuejs/vuepress#2028

from vuepress-theme-meteorlxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.