vuepress
vuepress copied to clipboard
📝 Minimalistic Vue-powered static site generator
在config.js里配置了configureWebpack的devServer.proxy,但是实际访问没起作用
在vuepress的config.js里配置了configureWebpack,如下: `configureWebpack: (config) => { config.devServer = { proxy: { '/test/aaa': { changeOrigin: false, target: 'https://www.runoob.com/', pathRewrite: { '^/test': '/test' } } } } },` 但是实际上在vue里调用‘/test’,浏览器页面上的请求 http://localhost:8080/test 返回404,好像上面配置的proxy没起作用, 请问这块我想本地调用别的网站的api,这里如何设置才能好用呢,非常感谢。
**Summary** **What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [ ] Feature - [ ] Code style update - [ ]...
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.10. Commits 8cd4c6c 1.5.10 ce7a01f [fix] Improve handling of empty port 0071490 [doc] Update JSDoc comment a7044e3 [minor] Use more descriptive variable name d547792 [security]...
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0. Release notes Sourced from prismjs's releases. v1.27.0 Release 1.27.0 Changelog Sourced from prismjs's changelog. 1.27.0 (2022-02-17) New components UO Razor Script (#3309) 3f8cc5a0 Updated...
MarkDown.plugins type problem when configuring config.ts
- [x] I confirm that this is an issue rather than a question. ## Bug report I use vuepress v1.9.7 I use config.ts to configure VuePress, but I have encountered...
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. at Object.appendChild
- [ ] I confirm that this is an issue rather than a question. ## Bug report #### Steps to reproduce 当在博客页面,点击跳转至博客的另一个页面,配置的跳转链接是全路径,包含域名的,但是跳转过去左侧导航栏不存在,页面提示404,控制台报错如下(刷新页面即可加载出来): DOMException: Failed to execute 'appendChild' on 'Node': This...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. Commits 3d81dc3 Release version 1.14.8 of the npm package. 62e546a Drop confidential headers across schemes. See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...
Not able to choose h1 for sidebar
- [x] I confirm that this is an issue rather than a question. ## Bug report #### Steps to reproduce Put `sidebarDepth=2`, add `h1` to markdown `extractHeaders` #### What is...
Security vulnerability with VuePress 1.8.2
- [x] I confirm that this is an issue rather than a question. ## Bug report #### Steps to reproduce ``` $ npx create-vuepress-site $ cd docs $ npm install...
期望中文回答我,感谢 hope chinese request me,thank you very much! ## Bug report debugger no enter extendMarkdown: (md) => { md.use(require('markdown-it-container'), 'run', { render (tokens, idx) { ***** debugger ***** const start...