You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BootstrapVue evolves with <codeclass="text-nowrap"translate="no">@vue-compat</code>!
7
7
</p>
8
8
</header>
9
9
<sectionclass="bd-content">
10
-
With the release of <b>v2.23.0</b> you can now use <spanclass="bd-text-purple-bright">BootstrapVue</span> with <ahref="https://v3-migration.vuejs.org/migration-build.html"target="_blank">migration build</a> of Vue.js 3
10
+
With the release of <b>v2.23.0</b>, you can begin using <spanclass="bd-text-purple-bright">BootstrapVue</span> with the <ahref="https://v3-migration.vuejs.org/migration-build.html"target="_blank">migration build</a> of Vue.js 3.
11
11
12
12
<b-alertshowvariant="warning"class="mt-3">
13
-
@vue/compat support is designed for early migration to Vue.js 3 and will be eventually replaced with <ahref="https://bootstrap-vue-next.github.io/bootstrap-vue-next/"target="_blank"rel="noopener">BootstrapVueNext</a>. BootstrapVueNext is currently in <b>Alpha</b>
13
+
While <codeclass="text-nowrap"translate="no">@vue/compat</code> can assist with simple migrations, it is not intended for long-term use. We highly recommend migrating to <ahref="https://bootstrap-vue-next.github.io/bootstrap-vue-next/"target="_blank"rel="noopener">BootstrapVueNext</a>, a complete rewrite that supports Bootstrap v5 and fully utilizes Vue.js 3's capabilities.
<p><codeclass="text-nowrap"translate="no">@vue-compat</code> support is currently limited to <codeclass="text-nowrap"translate="no">{ MODE: 2 }</code> configuration both for compiler and Vue.js itself.
19
-
You can find more details in <ahref="https://v3-migration.vuejs.org/migration-build.html#compat-configuration"target="_blank">compat configuration</a> section of migration guide.
20
-
</p>
21
-
<p>That means that you can manually configure each your component with <codeclass="text-nowrap"translate="no">{ compatConfig: { MODE: 3 }}</code> to be ready for switching to Vue.js 3, however global configuration should be kept in legacy mode in order for all BootstrapVue functions to work</p>
19
+
<p><codeclass="text-nowrap"translate="no">@vue-compat</code> support is currently limited to the <codeclass="text-nowrap"translate="no">{ MODE: 2 }</code> configuration for both the compiler and Vue.js. For more details, refer to the <ahref="https://v3-migration.vuejs.org/migration-build.html#compat-configuration"target="_blank">compat configuration</a> section of the migration guide.</p>
20
+
<p>This means that while you can configure individual components with <codeclass="text-nowrap"translate="no">{ compatConfig: { MODE: 3 }}</code>, you should maintain global configuration in legacy mode to ensure all BootstrapVue functions operate correctly.</p>
<li>Configure your application according to <atarget="_blank"href="https://v3-migration.vuejs.org/migration-build.html#upgrade-workflow">upgrade workflow</a></li>
32
-
<li>Upgrade bootstrap-vue to <b>v2.23.0</b> or higher</li>
33
-
<li>Make sure you're still on bootstrap <b>v4</b></li>
29
+
<li>Follow the <atarget="_blank"href="https://v3-migration.vuejs.org/migration-build.html#upgrade-workflow">upgrade workflow</a> to configure your application.</li>
30
+
<li>Upgrade to <b>bootstrap-vue v2.23.0</b> or higher.</li>
31
+
<li>Ensure you are using Bootstrap <b>v4</b>.</li>
34
32
</ul>
35
33
36
-
<p>You can use this <ahref="https://stackblitz.com/edit/bootstrap-vue-with-compat">sandbox</a> for reference or reporting issues with @vue/compat</p>
34
+
<p>For a reference implementation or to report issues with <codeclass="text-nowrap"translate="no">@vue/compat</code>, you can use this <ahref="https://stackblitz.com/edit/bootstrap-vue-with-compat">sandbox</a>.</p>
37
35
38
36
</section>
39
37
</b-container>
@@ -44,7 +42,7 @@ import hljs from '../utils/hljs'
44
42
45
43
exportdefault {
46
44
head() {
47
-
consttitle=`Vue.js 3 support | BootstrapVue`
45
+
consttitle=`Vue.js 3 Support | BootstrapVue`
48
46
return {
49
47
title
50
48
}
@@ -57,7 +55,7 @@ export default {
57
55
`export default {`,
58
56
` data() { /* ... */ },`,
59
57
``,
60
-
` // This will disable all Vue.js 2 legacy features for your component`,
58
+
` // Disable all Vue.js 2 legacy features for your component`,
61
59
` compatConfig: { MODE: 3 }`,
62
60
``,
63
61
` // ... rest of your component configuration ... `,
0 commit comments