\u003C!-- result: \u003Cdiv a=\"1\" b=\"2\">\u003C/div> -->\n\u003Cdiv t-att=\"['a', 'b']\"/> \u003C!-- \u003Cdiv a=\"b\">\u003C/div> -->\n```\nmd文档中有以上内容则会报错\n\n\n\n### Describe the solution you'd like\n\n要通过怎么样的配置可以让其支持OdooOWL的Qweb语法\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [x] Read the [docs](https://vitepress.dev).\n- [x] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [x] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],4823,"无法解析OdooOWL中的Qweb语法","2025-07-03T09:43:57Z","https://github.com/vuejs/vitepress/issues/4823",0.7311221,{"description":3100,"labels":3101,"number":3102,"owner":3030,"repository":3031,"state":3078,"title":3103,"updated_at":3104,"url":3105,"score":3106},"**Describe the solution you'd like**\r\nAble to load `vite.config.js` / `vite.config.ts` under root and merge with Vitepress specified configurations.\r\n",[],189,"Support vite.config.js","2023-01-21T16:24:04Z","https://github.com/vuejs/vitepress/issues/189",0.7396367,{"description":3108,"labels":3109,"number":3113,"owner":3030,"repository":3031,"state":3078,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### Describe the bug\r\n\r\nI'm getting some errors when running `pnpm build`, I guess it's because I should somehow wrap this component causing the error in `\u003CClientOnly />`, but how should I find the exact cause from the error log? It does not provide any useful details (see below screenshot)\r\n\r\n---\r\n\r\nAnother question, as I guess my error is because of this:\r\nShould I wrap `watch()` inside `onMounted()`? or in another word, can I do it? I didn't find any corresponding example in Vue documentation... \r\nSorry if this is a dumb question, as I'm a react guy :(\r\n```vue\r\n\u003Cscript setup lang=\"ts\">\r\nimport { useLocalStorage } from '@vueuse/core';\r\nimport { watch } from 'vue';\r\n\r\nconst nfcapiEnvRef = useLocalStorage('vp-nfcapi-env', 'staging', {\r\n deep: false,\r\n listenToStorageChanges: true,\r\n writeDefaults: true\r\n});\r\n\r\nwatch(nfcapiEnvRef, (value, oldValue) => {\r\n const htmlDataSet = document.documentElement.dataset;\r\n oldValue && (htmlDataSet.nfcapiEnv = oldValue.toLowerCase());\r\n htmlDataSet.nfcapiEnv = value.toLowerCase();\r\n}, { immediate: true });\r\n\u003C/script>\r\n```\r\n\r\n---\r\n\r\nScreenshot of the error:\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nThis is not a bug, but a question\r\n\r\n### Expected behavior\r\n\r\nN/A\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz\r\n Memory: 30.87 GB / 63.84 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\NodeJS\\node.EXE\r\n Yarn: 1.22.19 - C:\\NodeJS\\yarn.CMD\r\n npm: 9.8.0 - C:\\NodeJS\\npm.CMD\r\n pnpm: 8.6.7 - C:\\NodeJS\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.82)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.5 => 1.0.0-beta.5\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nN/A\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3110],{"name":3111,"color":3112},"question","5D5FAE",2627,"How should I trace build error?","2023-07-24T00:04:51Z","https://github.com/vuejs/vitepress/issues/2627",0.74347436,{"description":3119,"labels":3120,"number":3121,"owner":3030,"repository":3031,"state":3078,"title":3122,"updated_at":3123,"url":3124,"score":3125},"How to fix the \"Attribute setup is not allowed here\" issue?\n\u003Cimg width=\"696\" height=\"136\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/91cd40ad-3a26-4098-aa2d-08dcefa923be\" />",[],4857,"How to fix the \"Attribute setup is not allowed here\" issue?","2025-07-26T09:45:17Z","https://github.com/vuejs/vitepress/issues/4857",0.7496974,["Reactive",3127],{},["Set"],["ShallowReactive",3130],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fVKlYwbdn1s_Up_9JmpyyotMk9bhNnv2zokP8U_dZZP0":-1},"/vuejs/vitepress/4325"]