为何设置了 assetsInclude 不生效 #1619
-
| 我使用 vuepress 的过程中遇到了下面这个错误,尝试在 config.js 里增加 assetsInclude 这个选项,但没有任何效果,我想要的效果是不安装插件,当作不能显示时当作静态资源下载就行,请问如何解决? 这是配置项: 开发环境如下:  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            Mister-Hope
          
      
      
        Nov 25, 2024 
      
    
    Replies: 1 comment 1 reply
-
| Feel nice about the detailed information. .vuepress/config.js ≠ vite.config.ts To pass options to vite, you should use viteOptions in viteBundler(), see https://vuejs.press/reference/bundler/vite.html#viteoptions | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        Mister-Hope
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Feel nice about the detailed information.
.vuepress/config.js ≠ vite.config.ts To pass options to vite, you should use viteOptions in viteBundler(), see https://vuejs.press/reference/bundler/vite.html#viteoptions