From 369d0aa2bd63905f6eec8eff16aaef510ede8956 Mon Sep 17 00:00:00 2001 From: watonyweng Date: Sun, 17 Apr 2022 16:30:06 +0800 Subject: [PATCH] fix link error --- src/api/application.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/application.md b/src/api/application.md index 03c69c1c91..60cb4f7e69 100644 --- a/src/api/application.md +++ b/src/api/application.md @@ -395,14 +395,14 @@ Set this to `true` to enable component init, compile, render and patch performan ## app.config.compilerOptions -Configure runtime compiler options. Values set on this object will be passed to the in-browser template compiler and affect every component in the configured app. Note you can also override these options on a per-component basis using the [`compilerOptions` option](/). +Configure runtime compiler options. Values set on this object will be passed to the in-browser template compiler and affect every component in the configured app. Note you can also override these options on a per-component basis using the [`compilerOptions` option](/api/options-rendering.html#compileroptions). ::: warning Important This config option is only respected when using the full build (i.e. the standalone `vue.js` that can compile templates in the browser). If you are using the runtime-only build with a build setup, compiler options must be passed to `@vue/compiler-dom` via build tool configurations instead. - For `vue-loader`: [pass via the `compilerOptions` loader option](/). Also see [how to configure it in `vue-cli`](/). -- For `vite`: [pass via `@vitejs/plugin-vue` options](/). +- For `vite`: [pass via `@vitejs/plugin-vue` options](https://github.com/vitejs/vite/tree/main/packages/plugin-vue#options). ::: ### app.compilerOptions.isCustomElement