We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d1a63 commit e29b6e1Copy full SHA for e29b6e1
packages/@vuepress/bundler-webpack/src/config/handlePluginDefine.ts
@@ -21,9 +21,9 @@ export const handlePluginDefine = ({
21
'__VERSION__': JSON.stringify(app.version),
22
'__DEV__': JSON.stringify(app.env.isDev),
23
'__SSR__': JSON.stringify(isServer),
24
- // disable options API by default
25
// @see http://link.vuejs.org/feature-flags
26
- '__VUE_OPTIONS_API__': JSON.stringify(false),
+ // enable options API by default
+ '__VUE_OPTIONS_API__': JSON.stringify(true),
27
'__VUE_PROD_DEVTOOLS__': JSON.stringify(false),
28
},
29
])
0 commit comments