Comments (3)
neufman/vite-plugin-doc-issue-demo.git
To see difference, just comment plugin in vite config.
Seems to be related to the render method.
With template tag, bug doesn't appear.
This problem is caused by the include filter in @vitejs/plugin-vue not taking effect in resolveId and load, causing it to go through the style process twice. So for now, we have to remove the built-in @vitejs/plugin-vue plugin, which causes a Break change
You need to use it like this
import { defineConfig } from 'vite'
import vitePluginVuedoc, { vueDocFiles } from 'vite-plugin-vuedoc'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [
vitePluginVuedoc({}),
vue({
include: [...vueDocFiles],
}),
],
})
from vite-plugin-markdown-preview.
can you provide a demo repo?this will help to locate the problem
from vite-plugin-markdown-preview.
https://github.com/neufman/vite-plugin-doc-issue-demo.git
To see difference, just comment plugin in vite config.
Seems to be related to the render method.
With template tag, bug doesn't appear.
from vite-plugin-markdown-preview.
Related Issues (20)
- 提示highlight版本问题,以及高亮颜色有点问题
- .md 的demo中,如果带有 css就会报错。 HOT 1
- 为什么我的表格渲染出来没有边框,是否还需要配置什么 HOT 2
- 打包发布需要额外配置什么吗,为通过npm run build打包后,无法跳转到md页面,报错Error: Unknown variable dynamic import: ../docs/form/index.md HOT 1
- Error: Cannot find module 'debug'
- 加载md文件报错 HOT 2
- 如何给a标签添加 target="_blank" 属性??
- 是否可以升级一下@vitejs/plugin-vue至2.x HOT 2
- Cannot find module 'E:\Code\VS Code\blog\vite-blog\node_modules\vite-plugin-md-preview\dist\index.mjs HOT 1
- 版本有缺陷 HOT 2
- 组件在windows上不好使 HOT 2
- 在windows上有路径问题 HOT 2
- 使用"vite-plugin-md": "^0.20.2"vue组件并没有被解析出来 HOT 1
- build 错误 HOT 6
- 运行playground\vite代码,解析preview代码块失败 HOT 1
- still not work in windows HOT 1
- TypeError: Failed to fetch dynamically imported module HOT 1
- vite.config.ts导入MarkdownPreview报错问题 HOT 1
- wrapperComponent无法取得frontmatter
- 代码块样式丢失
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite-plugin-markdown-preview.