profile
viewpoint
ULIVZ ulivz Alipay Hangzhou, China ulivz.com @vuejs team member, focus on VuePress and its ecology.

startednode-modules/urllib

started time in 14 hours

startedIonicaBizau/json2md

started time in 14 hours

push eventulivz/awesome-vuepress

Howar31

commit sha d092dc59540d168f462017c17d50f1f9357a033d

docs: add tutorials by Howar31 (#41) Add tutorials by Howar31: - Blogging with Vuepress - Setup SSL with GitLab Pages

view details

push time in 18 hours

PR merged ulivz/awesome-vuepress

Add tutorials by Howar31

I've wrote some tutorials for building blog with Vuepress on GitLab Pages with SSL setup.

+3 -0

0 comment

1 changed file

howar31

pr closed time in 18 hours

issue openedwebpack-contrib/mini-css-extract-plugin

[Bug Report] Cannot leverage the publicPath set in runtime?

Background

There are many enterprise-level deploy platform that need build tool to set publicPath at runtime so that the deploy service can deploy the assets to different environment via only injecting the publicPath and routeBase value to the rendered HTML.

With this context, the build tool need to inject some code snippet to the main entry bundled by webpack, something like this:

if (typeof window !== 'undefined' && window.publicPath) {
  __webpack_public_path__ = window.publicPath;

  // ref: https://github.com/webpack/webpack/issues/5021
  const originalChunkLoad = __webpack_chunk_load__;
  __webpack_chunk_load__ = function (id) {
    return (function tryCdn() {
      return originalChunkLoad(id).catch(e => {
        __webpack_public_path__ = window.publicPath;
        return tryCdn();
      })
    }());
  }
}

This snippet works for basic assets but not works for the images assets referenced by css styles.

e.g.

.foo {
  background-image: url('./hero.png')
}

created time in a day

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 6fbaa78876a1597d429476ea716c8ecfb82e89cb

docs: add status

view details

push time in 2 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha fe4eb412bed8e0cc6e8441d27311e8eb6cd32edb

docs: add status

view details

push time in 2 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha b04a154ff59e3b00d22f99b51a7331fcf8b5adfb

feat($core): expose frontmatter classification key to client

view details

ULIVZ

commit sha fc61b1fa0e36215d78bd5f712dba1640848a9b5d

1.2.4

view details

ULIVZ

commit sha 67c26b036dfeb8f59511fdac16772452c076fe96

chore: changelog

view details

push time in 3 days

push eventvuejs/vuepress

ULIVZ

commit sha c8378b01df2587508200371a82f2778a971d8e03

workflow: update issue template

view details

push time in 3 days

issue closedulivz/vuepress-plugin-blog

frontmatters' entry pages are not under its index path, but under /{id}/

config.js:

module.exports = {
  plugins: [
    ['@vuepress/blog', {
      frontmatters: [
        {
          id: "id",
          keys: ['tag'],
          path: '/subdir/',
          // ...
        }
      ]
    ]
  ]
  // ...
}

expected this.$site.pages:

[
  {
    "frontmatter": {"title": "some_tag | id"},
    "regularPath": "/subdir/some_tag/",
    "path": "/subdir/some_tag/",
    // ...
  },
  // ...
]

actual this.$site.pages:

[
  {
    "frontmatter": {"title": "some_tag | id"},
    "regularPath": "/id/some_tag/",
    "path": "/id/some_tag/",
    // ...
  },
  // ...
]

closed time in 3 days

GNQG

issue closedulivz/vuepress-plugin-blog

$pagination.pages的返回数组排序问题

对博客来说,文章的排序不一定是按时间正序排序的,有可能是按时间倒序排序,是不是应该有一个倒序排序的选项?

现在的插件在没有分页时,可以手动reverse(),但一旦分页,手动reverse()后的逻辑就不对了

closed time in 3 days

eliot-ye

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha dae80cb4db5a04af3100246093960fa71d6c22dd

workflow: add issue pull request template

view details

push time in 3 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 4966442fc1276bad05ae9a2991c177ff16e2b531

workflow: add issue pull request template

view details

push time in 3 days

issue commentulivz/vuepress-plugin-blog

Pagination component still not ssr friendly

Could you provide a minimal reproduction repo?

kliyer-ai

comment created time in 3 days

issue commentulivz/vuepress-theme-blog

How to use

我给你一个建议,不要用 VuePress。

cfjedimaster

comment created time in 3 days

issue commentulivz/vuepress-plugin-blog

[Bug Report] Build failed when user doesn't create files for directory classifier.

Fixed at https://github.com/ulivz/vuepress-plugin-blog/commit/d64964d9953da4240985fc71a102f5dc11051d45 from the root.

ulivz

comment created time in 3 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha d64964d9953da4240985fc71a102f5dc11051d45

fix($core): validate the existence of directory specified by directory classifier. (close: #1)

view details

ULIVZ

commit sha 3b68c8a03b4951c2f090689d1ff02fba26a9d98f

1.2.3

view details

ULIVZ

commit sha 60e0daa6b3661ad5ca2f446ec7c1e4abd5e6ca6d

chore: changelog

view details

push time in 3 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 93c6a4e67b861e8587edea3a9ee56b6ef6c20efd

chore: readme

view details

push time in 3 days

issue commentulivz/vuepress-theme-blog

How to use

@BoltDoggy 刚刚才修的,1.2.2。

此外,这个 issue 我在 20 天以前就创建了:https://github.com/ulivz/vuepress-plugin-blog/issues/1,贴了大大的 contribution welcome,可惜的是,20 天来,没有任何人提交 PR。

做开源就是这样,用户只愿意用,用的好什么都不会说,出了问题只会抱怨,而不会帮忙解决。

cfjedimaster

comment created time in 4 days

issue closedulivz/vuepress-plugin-blog

[Bug Report] Build failed when user doesn't create files for directory classifier.

Error

Rendering page: /archive/[Vue warn]: Error in render: "TypeError: Cannot read property 'interval' of undefined"

found in

---> <BaseListLayout>
       <Layout>
         <Anonymous>
           <Root>
error Error rendering /archive/: false
undefined
TypeError: Cannot read property 'interval' of undefined

Workaround

module.exports = {
  theme: '@vuepress/blog',
  themeConfig: {
    modifyBlogPluginOptions(blogPlugnOptions) {
      const archiveDirectoryClassifierIndex = blogPlugnOptions.directories.findIndex(d => d.id === 'archive')
      blogPlugnOptions.directories.splice(archiveDirectoryClassifierIndex, 1)
      return blogPlugnOptions
    },
}

closed time in 4 days

ulivz

issue commentulivz/vuepress-plugin-blog

[Bug Report] Build failed when user doesn't create files for directory classifier.

Temporarily fixed at https://github.com/ulivz/vuepress-theme-blog/commit/5a34e26d907210e3f48f59566a0d26757ec76805

ulivz

comment created time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha f629539e457e95333987919955c50706896bdc32

chore: changelog

view details

push time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha 5a34e26d907210e3f48f59566a0d26757ec76805

fix: require `modifyBlogPluginOptions` to delete the `archive` classifier

view details

ULIVZ

commit sha fb090b815e8ea2fb160e6d1c66d632b36a783ae7

1.2.2

view details

push time in 4 days

issue commentulivz/vuepress-plugin-blog

frontmatters' entry pages are not under its index path, but under /{id}/

See rendered docs: https://vuepress-plugin-blog.ulivz.com/pagination/

GNQG

comment created time in 4 days

issue closedulivz/vuepress-plugin-blog

$current{id} is undefined

The autogenerated $current{id} property, used to get the current item from the frontmatter classifier, is undefined.

Seems like it was generated by getting this.$route.meta.pid (which is usually the id of the frontmatter classifier), instead of this.$route.meta.pid (which is the name of the key itself, which is expected)

closed time in 4 days

Enigmatrix

issue commentulivz/vuepress-plugin-blog

使用 中文 tag 之后的 $pagination.pages 返回不太正确

看起来是 encode 的问题, 欢迎 PR!

yuicer

comment created time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 3e03666b358928cd85ebbcf486cd034f0b6b8f33

fix: ssr unfriendly

view details

ULIVZ

commit sha a12a7e1c5264cb27a852509aa8b1f1b9ff8e8343

1.2.2

view details

ULIVZ

commit sha a32d48c0df30341daded4e2e338b88e6d9aeccde

chore: changelog

view details

push time in 4 days

issue commentulivz/vuepress-theme-blog

How to use

一个插件应该是开箱即用的, 很遗憾, 这个插件并不能直接运行起来.

你用的什么版本?

通过运行示例, 寻找差异, 发现 modifyBlogPluginOptions 配置是必须的

这个已经不需要了。建议 clone 这个 repo 然后 run 一下 yarn example:dev 看看。

cfjedimaster

comment created time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha eab7fddbc73b9230fba3e6a9659f792b1a99d9fa

fix: bump blog plugin to 1.2.1 fix filter bug

view details

ULIVZ

commit sha ce68dc2b3d2ebf78ab33290dbb80349ebeadad0e

1.2.1

view details

ULIVZ

commit sha 42118a3f336b14c40a18f0d0c62ca9779338da5b

fix: Vue is undefined

view details

ULIVZ

commit sha b8c8ca5d3c489acedea688b85083f57d76e3b19a

chore: changelog

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha d912eae1b0808eb9bc2de7561232381574e28422

docs: tweaks

view details

ULIVZ

commit sha 7eb1ef4a7a08fbd32de7415e2f8fa28cb48692d6

feat: more abstract `$frontmatterKey` to yield multiple frontmatter classifiers

view details

ULIVZ

commit sha 7350234e2beca9f5057973c887998d263ef3e519

chore: update blog example

view details

ULIVZ

commit sha 4f08432c8e52f509301933d89cedf9de701845e3

feat: return `null` when `$pagination` doesn't exist

view details

ULIVZ

commit sha fa259277396ef274c35bf5b907b56db83cfe8f85

1.2.0

view details

ULIVZ

commit sha 3213ffa80b996025d7330a262874e8ed9e74d458

chore: changelog

view details

ULIVZ

commit sha de1d61aec893673f922118fe817a696b884d21b8

fix: cannot filter correct pages for frontmatter classifier

view details

ULIVZ

commit sha 60e58555ad0111f871da890e0addcb6a4ec2e092

1.2.1

view details

ULIVZ

commit sha f5ab9b06220d24055c7858558608981900865497

chore: changelog

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha f345d7451a5efb993001ad2a57b3afc96b387259

chore: footer

view details

push time in 4 days

push eventvuejs/vuepress

ULIVZ

commit sha 26c634c9b8bd1e7a90fba9438070deaf0f61025f

chore: 1.0.2 changelog

view details

push time in 4 days

created tagvuejs/vuepress

tagv1.0.2

📝 Minimalistic Vue-powered static site generator

created time in 4 days

push eventvuejs/vuepress

ULIVZ

commit sha 1aaa6e3210e6a703467a751c37e13c9737430048

fix($core): cannot resolve agreement file from parent theme

view details

ULIVZ

commit sha cdd684339b89eb43786151dc14e390415b3aa36c

v1.0.2

view details

push time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha 490e072aa9c0c65074c3fbd8f2ecaa2a1f2060f2

chore: set up conventional-changelog

view details

push time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha 5518887171d41e984382f15cfab9038e48ff98ec

feat: paginationComponent option - ability to cutom pagination component

view details

ULIVZ

commit sha dc40f5ee0a72be226404a1b0bcea98f887162da4

1.2.0

view details

push time in 4 days

push eventulivz/vuepress-theme-blog

ULIVZ

commit sha a6dab8b4670fba328e64bab2b097bbd66a957eac

docs: enhancement

view details

push time in 4 days

issue commentvuejs/vuepress

Information on blog and pagination plugin missing from website

See the detailed and fresh docs of blog plugin: https://vuepress-plugin-blog.ulivz.com/

jweinst1

comment created time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 25a7b06c1784995c4a6b86627e02e16c7ef1aabe

chore: readme

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha bb8aa51f744152920a6d78123fc8d52d1580a987

chore: readme

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha becf789ed7730f2fa35bada782c578652b26a0ca

docs: enhancement

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 4fc0f73dbdffa49fff39800d46c4b0116c6ff7ad

docs: enhance client api

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha b9bad54aa0db8deca80485edc6084915e73421e2

1.1.1

view details

ULIVZ

commit sha d0345fc60e5088d17d3d1d7c5b8609224a4bbdd9

chore: do not publish docs

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 70b21dbc662a518ec660bda78fe610d6aa3bb0a1

chore: npm scripts

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha c31468b46f7ce61da047976d7e7e1d3de7e28fb1

chore: npm script

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha cbcb321d6e48e813414af03bcdc62b822a1fc0ec

chore: npm script

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha d37874483bd4ec229bb6dfec686838a771ca955f

chore: remove prettier.rc

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha a2c1944ec9741d7f73b5012b73bbcdb8572e8b10

fix($components): SimplePagination missed styles

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha fc203a3cc86d503e0a084a878078e810d5a48969

docs: enhance docs

view details

push time in 4 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 56223805e7d48ecc4553851b70eaab881c3203e6

fix($components): SimplePagination doesn't work

view details

push time in 4 days

issue commentvuejs/vuepress

V0官网上自定义markdown-it插件的配置参数居然是config(无效)而不是extendMarkdown(有效)

1.0 都正式发布了,为什么还要 next?

choaklin

comment created time in 4 days

issue closedvuejs/vuepress

V0官网上自定义markdown-it插件的配置参数居然是config(无效)而不是extendMarkdown(有效)

V0官网上自定义markdown-it插件的配置参数居然是config(无效)而不是extendMarkdown(有效)

closed time in 4 days

choaklin

issue commentvuejs/vuepress

V0官网上自定义markdown-it插件的配置参数居然是config(无效)而不是extendMarkdown(有效)

你用的是 1.x 吧,那为什么要要看 0.x 的文档?

choaklin

comment created time in 4 days

issue closedvuejs/vuepress

Markdown extension works in main project, does not work in custom theme

[Y ] I confirm that this is an issue rather than a question.

Bug report

Configuring Markdown extension works in main project, but not in custom theme.

I am trying to make a custom theme for our team which incorporates most of our frequently used markdown plugins inside it, so that each project does not need local configuration.

Steps to reproduce

This section

markdown: {
  extendMarkdown: md => {
    md.use(require('markdown-it-deflist'))
    md.use(require('markdown-it-attrs'))
  },
}

works when placed in main project's .vuepress/config.js

but does not work if moved to the custom theme's index.js

What is expected?

Should work in both location, since they implement the same API

What is actually happening?

Only works in 1st case not in second case.

Other relevant information

  • [ ] My VuePress version is lower and euqal than 1.0.0-alpha.47:
  • [ Y] My VuePress version is higher than 1.0.0-alpha.47, the following is the output of npx vuepress info in my VuePress project:

System: OS: Linux 4.19 Debian GNU/Linux buster/sid undefined CPU: (2) x64 Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz Binaries: Node: 10.16.0 - /usr/bin/node Yarn: 1.16.0 - ~/.yarn/bin/yarn npm: 6.4.1 - /usr/local/bin/npm Browsers: Chrome: Not Found Firefox: Not Found npmPackages: @vuepress/core: 1.0.1 @vuepress/theme-default: 1.0.1 vuepress: ^1.0.1 => 1.0.1 npmGlobalPackages: vuepress: Not Found

closed time in 4 days

kaceo

issue commentvuejs/vuepress

Markdown extension works in main project, does not work in custom theme

Using:

module.exports = {
  extendMarkdown: md => {
    md.use(require('markdown-it-deflist'))
    md.use(require('markdown-it-attrs'))
  },
}

Instead of:

module.exports = {
  markdown: {
    extendMarkdown: md => {
      md.use(require('markdown-it-deflist'))
      md.use(require('markdown-it-attrs'))
    }
  }
}
kaceo

comment created time in 4 days

issue closedvuejs/vuepress

How to add favicon

<!-- Please don't delete this template or we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of VuePress. -->

<!-- Please confirm you will submit an issue. --> <!-- Issues which contain questions or support requests will be closed. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] I confirm that this is an issue rather than a question.

<!-- Please ask questions via following several ways. --> <!-- https://vue-land.js.org/ --> <!-- https://forum.vuejs.org/ --> <!-- https://stackoverflow.com/questions/ask?tags=vuepress -->

Bug report

Steps to reproduce

<!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. -->

<!-- If your repo isn't public, you can use this boilerplate to create a proper reproduction repo quickly: https://github.com/ulivz/template-vuepress -->

What is expected?

What is actually happening?

Other relevant information

<!-- Please choose one of the following and and fill in the information. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] My VuePress version is lower and euqal than 1.0.0-alpha.47:

    • VuePress version:
    • OS:
    • Node.js version:
    • Browser version:
    • Is this a global or local install?
    • Which package manager did you use for the install?
    • Does this issue occur when all plugins are disabled?
  • [ ] My VuePress version is higher than 1.0.0-alpha.47, the following is the output of npx vuepress info in my VuePress project:

closed time in 4 days

ankit20893

issue closedvuejs/vuepress

expected rgba or hsla, but got ident:$textColor

<!-- Please don't delete this template or we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of VuePress. -->

<!-- Please confirm you will submit an issue. --> <!-- Issues which contain questions or support requests will be closed. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] I confirm that this is an issue rather than a question.

<!-- Please ask questions via following several ways. --> <!-- https://vue-land.js.org/ --> <!-- https://forum.vuejs.org/ --> <!-- https://stackoverflow.com/questions/ask?tags=vuepress -->

Bug report

First it had an issue with using the lighten function from stylus

 129| 
   130| // lighten by the given amount
   131| 
   132| lighten(color, amount)
   133|   adjust(color, 'lightness', amount)
-------------------------------------------^
   134| 
   135| // decrease opacity by amount
   136| 

TypeError: expected rgba or hsla, but got ident:$textColor

i use 1.0.0-alpha.48, and my package management is npm

"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-es2015": "^7.0.0-beta.53",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^1.0.0",
"css-loader": "^1.0.1",
"extract-text-webpack-plugin": "^3.0.2",
"html-webpack-plugin": "^3.2.0",
"markdown-it-vuese": "^0.4.0",
"path": "^0.12.7",
"vue-loader": "^14.2.3",
"vue-server-renderer": "^2.6.10",
"vue-template-compiler": "^2.6.10",
"vuepress": "^1.0.0-alpha.48",
"vuepress-plugin-demo-block": "^0.7.2",
"webpack": "^4.26.0",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
}

Steps to reproduce

i put variables in NavLinks.vue, its fine. so i think its the problem of importing config.styl from @vuepress/core

now i manually import variable file in problem Page, like NavLinks.vue @require '../../core/lib/client/style/config.styl'

<!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. -->

<!-- If your repo isn't public, you can use this boilerplate to create a proper reproduction repo quickly: https://github.com/ulivz/template-vuepress -->

What is expected?

What is actually happening?

Other relevant information

<!-- Please choose one of the following and and fill in the information. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] My VuePress version is lower and euqal than 1.0.0-alpha.47:

    • VuePress version:
    • OS:
    • Node.js version:
    • Browser version:
    • Is this a global or local install?
    • Which package manager did you use for the install?
    • Does this issue occur when all plugins are disabled?
  • [ ] My VuePress version is higher than 1.0.0-alpha.47, the following is the output of npx vuepress info in my VuePress project:

closed time in 4 days

LouisaNikita

push eventvuejs/vuepress

云游君

commit sha 17ba3250088cbe3a6d158bcd12cb5e03744dabf3

fix($core): url display in dev log (#1670)

view details

push time in 4 days

PR merged vuejs/vuepress

fix($core): url display in dev log

<!-- Please don't delete this template -->

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [x] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot: image image

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information: Add space for ( http://localhost:8080/ ), otherwise, I will jump to http://localhost:8080/).

+1 -1

0 comment

1 changed file

YunYouJun

pr closed time in 4 days

push eventYunYouJun/vuepress

siberiawolf

commit sha 998cfa3f19860aa53d7eada0c4cb797905d07e05

docs($cn): fix typo

view details

Craig Morris

commit sha 9923f83140c6a7b0f1bc1efe103a341dd19c01c3

chore: remove parentheses around site url (#1666) As VSCode makes `http://localhost:8080/)` including trailing parentheses which leads to a 404.

view details

Eric McCormick

commit sha 77d67332da07fb9da3b1d1c47d651da333b9ad98

updates default preset link (#1668) the previous link currently gives a 404

view details

ULIVZ

commit sha c777d3a9b40e3a11a9721850c9b2b0f5960950e5

Merge branch 'master' into master

view details

push time in 4 days

PR closed vuejs/vuepress

Documentation: Correction to Search options sample

The code sample illustrating options used a comma (,) after the plugin name rather than a colon (:)

<!-- Please don't delete this template -->

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [x] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information: This is a minor typo in the documentation.

+1 -1

0 comment

1 changed file

dagilleland

pr closed time in 4 days

issue closedvuejs/vuepress

how to stop external libraries in build mode

<!-- Please don't delete this template or we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of VuePress. -->

<!-- Please confirm you will submit an issue. --> <!-- Issues which contain questions or support requests will be closed. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] I confirm that this is an issue rather than a question.

<!-- Please ask questions via following several ways. --> <!-- https://vue-land.js.org/ --> <!-- https://forum.vuejs.org/ --> <!-- https://stackoverflow.com/questions/ask?tags=vuepress -->

Bug report

Steps to reproduce

<!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. -->

<!-- If your repo isn't public, you can use this boilerplate to create a proper reproduction repo quickly: https://github.com/ulivz/template-vuepress -->

i wrote a component with openlayer. can run in dev mode but cant build in build mode

What is expected?

build works

What is actually happening?

build failed with error "window is not definded"

Other relevant information

ssr docs not tell us how to avoid external libraries. i wonder if vuepress docs can show me how to do. or maybe provide a config to stop ssr

<!-- Please choose one of the following and and fill in the information. --> <!-- (Update "[ ]" to "[x]" to check a box) -->

  • [ ] My VuePress version is lower and euqal than 1.0.0-alpha.47:

    • VuePress version:
    • OS:
    • Node.js version:
    • Browser version:
    • Is this a global or local install?
    • Which package manager did you use for the install?
    • Does this issue occur when all plugins are disabled?
  • [x] My VuePress version is higher than 1.0.0-alpha.47, the following is the output of npx vuepress info in my VuePress project:

closed time in 4 days

xxholly32

issue commentvuejs/vuepress

how to stop external libraries in build mode

See: https://v1.vuepress.vuejs.org/guide/using-vue.html#browser-api-access-restrictions

xxholly32

comment created time in 4 days

push eventvuejs/vuepress

Eric McCormick

commit sha 77d67332da07fb9da3b1d1c47d651da333b9ad98

updates default preset link (#1668) the previous link currently gives a 404

view details

push time in 4 days

PR merged vuejs/vuepress

docs: updates default preset hyperlink

the previous link currently gives a 404

<!-- Please don't delete this template -->

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [X] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [X] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

The old link looks to have been from 0.x and not updated with the 1.x switch on master. Here's what the change is from the browser, although the diff should be self-explanatory.

link

+1 -1

0 comment

1 changed file

edm00se

pr closed time in 4 days

issue commentvuejs/vuepress

Error: EACCES: permission denied, rmdir /var

How to reproduce it?

faasie

comment created time in 4 days

pull request commentvuejs/vuepress

Improved the Native Search Algorithm

Great work, but could you write full tests for it?

ynnelson

comment created time in 4 days

push eventvuejs/vuepress

Craig Morris

commit sha 9923f83140c6a7b0f1bc1efe103a341dd19c01c3

chore: remove parentheses around site url (#1666) As VSCode makes `http://localhost:8080/)` including trailing parentheses which leads to a 404.

view details

push time in 4 days

PR merged vuejs/vuepress

Remove parentheses around site url

As VSCode makes http://localhost:8080/) including trailing parentheses which leads to a 404.

<!-- Please don't delete this template -->

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Docs
  • [] Build-related changes
  • [x] Other, please describe: DX for clicking on the local URL in Vs Code

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

+1 -1

0 comment

1 changed file

morrislaptop

pr closed time in 4 days

pull request commentvuejs/vuepress

Added Russian translation

@starkovsky Sorry but I'm not familiar with Russian, are #1643 and #1644 both translation from google?

saundefined

comment created time in 4 days

push eventvuejs/vuepress

siberiawolf

commit sha 998cfa3f19860aa53d7eada0c4cb797905d07e05

docs($cn): fix typo

view details

push time in 4 days

PR merged vuejs/vuepress

修改错别字(Modify typos)

修改一个错别字。

<!-- Please don't delete this template -->

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [x] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

修改错别字(Modify typos)

+1 -1

0 comment

1 changed file

siberiawolf

pr closed time in 4 days

issue commentvuejs/vuepress

Can NOT work with markdown-it-katex.

Did markdown-it-katex itself work under macmini and windows?

long568

comment created time in 4 days

issue commentvuejs/vuepress

Options of @vuepress/medium-zoom do not work

This issue has been fixed at https://github.com/vuejs/vuepress/commit/42f19e0ce653e42ea1187a9f108f884b92e1febd

whiteeagle44

comment created time in 4 days

issue closedvuejs/vuepress

Cannot resolve plugin "@vuepress/plugin-google-analytics" / "@vuepress/google-analytics"

  • [x] I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

Create brand new vuepress site and install @vuepress/google-analytics.

What is expected?

Google analytics code to be added to the output when building for production.

What is actually happening?

Warning is displayed during the build process

warning [vuepress] cannot resolve plugin "@vuepress/google-analytics"

Other relevant information

I also tried to change the config key to @vuepress/plugin-google-analytics as this is the name of the plugin in package.json but nothing changed.

My config.js file has the following code:

module.exports = {
    plugins: [
        ['@vuepress/plugin-google-analytics', {
            ga: 'UA-29469126-4'
        }]
    ]
};
  • [ ] My VuePress version is lower and euqal than 1.0.0-alpha.47:

    • VuePress version: vuepress@1.0.0-alpha.48
    • OS: macOS Mojave 10.14.4
    • Node.js version: v8.15.0
    • Browser version: Chrome 74
    • Is this a global or local install? Global
    • Which package manager did you use for the install? Yarn
    • Does this issue occur when all plugins are disabled? Yes
  • [x] My VuePress version is higher than 1.0.0-alpha.47, the following is the output of vuepress info in my VuePress project:

Environment Info:

  System:
    OS: macOS 10.14.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 8.15.0 - /usr/local/opt/node@8/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/opt/node@8/bin/npm
  Browsers:
    Chrome: 74.0.3729.157
    Firefox: 64.0.2
    Safari: 12.1
  npmPackages:
    @vuepress/core: Not Found
    @vuepress/theme-default: Not Found
    vuepress: Not Found
  npmGlobalPackages:
    vuepress: Not Found

npx vuepress info actually resulted in the following error:

Usage: vuepress <command> [options]

Options:
  -V, --version                output the version number
  -h, --help                   output usage information

Commands:
  dev [options] [targetDir]    start development server
  build [options] [targetDir]  build dir as static site
  eject [targetDir]            copy the default theme into .vuepress/theme for customization.

  Run vuepress <command> --help for detailed usage of given command.

  Unknown command info.

closed time in 4 days

ivandokov

issue commentvuejs/vuepress

Cannot resolve plugin "@vuepress/plugin-google-analytics" / "@vuepress/google-analytics"

It seems that this issue doesn't exist, please use the latest version of vuepress.

ivandokov

comment created time in 4 days

issue commentulivz/create-vuepress

create-vuepress hangs on step 2 ( What's the name of your project? (test))

@ragnar-document do you also use windows?

Assassyn

comment created time in 4 days

startedQingWei-Li/vue-trend

started time in 6 days

issue closedulivz/vuepress-plugin-blog

要放弃 @vuepress/plugin-blog 了吗

Is the plugin deprecated ?

最近看到插件 @vuepress/plugin-blog@next 从仓库里移除了10dfb66,一时间不知所措。目前只能维持在 1.0.0-alpha.49

closed time in 7 days

trafficmgr

issue commentulivz/vuepress-plugin-blog

要放弃 @vuepress/plugin-blog 了吗

建议 issue 也用英文提,这样所有人都可以答复。

trafficmgr

comment created time in 7 days

startedumijs/father

started time in 7 days

issue commentulivz/vuepress-plugin-blog

要放弃 @vuepress/plugin-blog 了吗

衷心建议添加上 $categories 全局变量,我觉得没必要限制住主题作者处理分类的方式,不然很影响主题制作者的发挥

没有去掉的,以前的全局变量都是写死的,但现在你可以随意地创造,举个例子:https://github.com/ulivz/blog/blob/master/src/.vuepress/config.js#L6

trafficmgr

comment created time in 8 days

push eventulivz/awesome-vuepress

Nguyen Van Ngoc

commit sha 6c6ddef4850409c638fd17cf849943965d568998

feat: add a blog using Vuepress (with AMP) (#40)

view details

push time in 8 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha bd0a7bf0c7a6331ddd9b7cca8cfbbf72a5f41f2a

chore: fix build failed

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 8f5d2c7e77e68326900e18da492c562c542d20da

1.1.0

view details

ULIVZ

commit sha 531d192b1d562630e76cd6a7fb5038c9ca975f71

chore: changelog

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 880720a8ee44df0eaad732a8ba36e00d7a7da1ce

docs: update

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 06c5afac8ce6aa3a42701588ba697bae2034c91a

build: refine source code structure to reach full typescript

view details

push time in 12 days

issue openedegoist/vue-compile

[Feature Request] Support vue-compile --watch

Thanks for the excellent work!

created time in 12 days

startedegoist/vue-compile

started time in 12 days

push eventulivz/vuepress-plugin-blog

Chandrasekaran Akash

commit sha a49fa3d3293e04710c65a064750358e4df507364

fix: use id instead of pid to calculate `current${frontmattterClassifierId}` (#6)

view details

push time in 12 days

push eventEnigmatrix/vuepress-plugin-blog

ULIVZ

commit sha b249e867f9594e3533d30a4ad298f06b7615ae58

feat: carding internal implementation (#8) Breaking Changes: Rename 'pagination.perPagePosts' to 'pagination.lengthPerPage'

view details

ULIVZ

commit sha 97ba63efb7264509357aa598754e1c65939bc1a0

chore: changelog

view details

ULIVZ

commit sha ef222b537976fcdb59c28c9b6674aa902d35022f

chore: update blog example

view details

ULIVZ

commit sha 98a5d6962587c64bbbdc0f08916438662cd236f8

fix: $pagination.getSpecificPageLink doesn't work

view details

ULIVZ

commit sha f1353a4f73b20e60d69c557ed24ee8fc82b6c5db

Merge branch 'master' into master

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 98a5d6962587c64bbbdc0f08916438662cd236f8

fix: $pagination.getSpecificPageLink doesn't work

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 9ef635e3940a26533b719393213189895503ac25

fix: $pagination.getSpecificPageLink doesn't work

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha 97ba63efb7264509357aa598754e1c65939bc1a0

chore: changelog

view details

ULIVZ

commit sha ef222b537976fcdb59c28c9b6674aa902d35022f

chore: update blog example

view details

push time in 12 days

push eventulivz/vuepress-plugin-blog

ULIVZ

commit sha b249e867f9594e3533d30a4ad298f06b7615ae58

feat: carding internal implementation (#8) Breaking Changes: Rename 'pagination.perPagePosts' to 'pagination.lengthPerPage'

view details

push time in 13 days

PR merged ulivz/vuepress-plugin-blog

feat: carding internal implementation

This pull request focus on the internal pagination.

Features

/**
 * Pagination config options for users.
 */
export interface PaginationConfig {
  /**
   * Filter for matched pages.
   */
  filter?: PageFilter;
  /**
   * Sorter for matched pages.
   */
  sorter?: PageSorter;
  /**
   * Maximum number of posts per page.
   */
  lengthPerPage?: number;
  /**
   * Layout for pagination Page (Except the index page.)
   */
  layout?: string;
  /**
   * A function to get the url of pagination page dynamically.
   */
  getPaginationPageUrl?: GetPaginationPageUrl;
  /**
   * A function to get the title of pagination page dynamically.
   */
  getPaginationPageTitle?: getPaginationPageTitle;
}

Out-of-box pagination component

image

Breaking Changes:

Rename 'pagination.perPagePosts' to 'pagination.lengthPerPage'

+673 -324

0 comment

18 changed files

ulivz

pr closed time in 13 days

more