Complete the code to import a Vue plugin named 'MyPlugin'.
import [1] from 'my-plugin';
You import the plugin by its exported name, here 'MyPlugin'.
Complete the code to install 'MyPlugin' in a Vue app instance named 'app'.
app.[1](MyPlugin);Vue apps use the use method to install plugins.
Fix the error in the code to correctly create a Vue app and install 'MyPlugin'.
import { createApp } from 'vue'; import MyPlugin from 'my-plugin'; const app = createApp({}); app.[1](MyPlugin); app.mount('#app');
The correct method to install a plugin on the app instance is use.
Fill both blanks to create a Vue app, install 'MyPlugin', and mount it to '#app'.
import { [1] } from 'vue'; import MyPlugin from 'my-plugin'; const app = [2]({}); app.use(MyPlugin); app.mount('#app');
You import and call createApp to make a Vue app instance.
Fill all three blanks to import, create, and install 'MyPlugin' in a Vue app.
import { [1] } from 'vue'; import [2] from 'my-plugin'; const app = [3]({}); app.use(MyPlugin); app.mount('#app');
Import createApp from Vue, import MyPlugin, then create the app with createApp.
