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
*Defined in [index.ts:109](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e87df0d/src/index.ts#L109)*
102
+
*Defined in [index.ts:109](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e2255e9/src/index.ts#L109)*
113
103
114
104
This is the main function.
115
105
This function is intended to be used only to load the entry point of your application.
@@ -119,7 +109,7 @@ If for some reason you need to use it in your components, be sure to share at le
119
109
120
110
Name | Type | Default value | Description |
121
111
------ | ------ | ------ | ------ |
122
-
`path` | string | - | The path of the `.vue` file. If path is not a path (eg. an string ID), your [getFile](interfaces/options.md#getfile) function must return a [File](README.md#file) object. |
112
+
`path` | string | - | The path of the `.vue` file. If path is not a path (eg. an string ID), your [getFile](interfaces/options.md#getfile) function must return a [File](interfaces/file.md) object. |
*Defined in [types.ts:219](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e87df0d/src/types.ts#L219)*
51
+
*Defined in [types.ts:222](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e2255e9/src/types.ts#L222)*
52
52
53
53
Additional module type handlers. see [ModuleHandler](modulehandler.md)
54
54
@@ -58,7 +58,7 @@ ___
58
58
59
59
• `Optional`**compiledCache**: [Cache](cache.md)
60
60
61
-
*Defined in [types.ts:259](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e87df0d/src/types.ts#L259)*
61
+
*Defined in [types.ts:262](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e2255e9/src/types.ts#L262)*
62
62
63
63
[get](cache.md#get)() and [set](cache.md#set)() functions of this object are called when the lib needs to save or load already compiled code. get and set functions must return a `Promise` (or can be `async`).
64
64
Since compilation consume a lot of CPU, is is always a good idea to provide this object.
@@ -102,7 +102,7 @@ ___
102
102
103
103
• `Optional`**delimiters**: [string, string]
104
104
105
-
*Defined in [types.ts:201](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e87df0d/src/types.ts#L201)*
105
+
*Defined in [types.ts:204](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e2255e9/src/types.ts#L204)*
106
106
107
107
Sets the delimiters used for text interpolation within the template.
108
108
Typically this is used to avoid conflicting with server-side frameworks that also use mustache syntax.
*Defined in [types.ts:277](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e87df0d/src/types.ts#L277)*
318
+
*Defined in [types.ts:280](https://github.com/FranckFreiburger/vue3-sfc-loader/blob/e2255e9/src/types.ts#L280)*
319
319
320
320
Called by the library when there is somthing to log (eg. scripts compilation errors, template compilation errors, template compilation tips, style compilation errors, ...)
0 commit comments