10000 fix #245, Add FAQs page · vuejs/rollup-plugin-vue@08229a0 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 08229a0

Browse files
committed
fix #245, Add FAQs page
1 parent 9874a59 commit 08229a0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/.vuepress/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ module.exports = {
2525
{
2626
text: 'Migrating from v2',
2727
link: '/migrating'
28+
},
29+
{
30+
text: 'FAQs',
31+
link: '/faqs'
2832
}
2933
],
3034
sidebar: [

docs/faqs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Frequently Asked Questions
2+
3+
- **Why does `__file` use absolute path?**
4+
The `__file` variable is used by devtools to provide "open in editor" feature. However, in production mode only filename is used. See issue [#258](https://github.com/vuejs/rollup-plugin-vue/issues/258) to enable production mode.
5+
6+
- **Cannot find module `vue-template-compiler`?**
7+
`vue-template-compiler` has a constraint that it should be exact same version as `vue` that is why it is included as peer dependency. Make sure you install `vue-template-compiler` and `vue` in your project.

0 commit comments

Comments
 (0)
0