Skip to content

Commit c919076

Browse files
committed
chore: add usage of production mode
1 parent c74673f commit c919076

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ import Monaco from '@vue/repl/monaco-editor'
5353
// retrieve some configuration options from the URL
5454
const query = new URLSearchParams(location.search)
5555
56-
const { importMap: builtinImportMap, vueVersion } = useVueImportMap({
56+
const {
57+
importMap: builtinImportMap,
58+
vueVersion,
59+
productionMode,
60+
} = useVueImportMap({
5761
// specify the default URL to import Vue runtime from in the sandbox
5862
// default is the CDN link from jsdelivr.com with version matching Vue's version
5963
// from peerDependency
@@ -82,6 +86,8 @@ watchEffect(() => history.replaceState({}, '', store.serialize()))
8286
8387
// use a specific version of Vue
8488
vueVersion.value = '3.2.8'
89+
// production mode is enabled
90+
productionMode.value = true
8591
</script>
8692
8793
<template>

0 commit comments

Comments
 (0)