MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / install

Function install

packages/vue/src/ionic-vue.ts:6–19  ·  view source on GitHub ↗
(_: App, config: IonicConfig = {})

Source from the content-addressed store, hash-verified

4
5export const IonicVue: Plugin<[IonicConfig?]> = {
6 async install(_: App, config: IonicConfig = {}) {
7 /**
8 * By default Ionic Framework hides elements that
9 * are not hydrated, but in the CE build there is no
10 * hydration.
11 * TODO FW-2797: Remove when all integrations have been
12 * migrated to CE build.
13 */
14 if (typeof (document as any) !== "undefined") {
15 document.documentElement.classList.add("ion-ce");
16 }
17
18 initialize(config);
19 },
20};

Callers

nothing calls this directly

Calls 2

initializeFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected