diff --git a/README.md b/README.md index 2f596ba..2f4f3a6 100644 --- a/README.md +++ b/README.md @@ -188,8 +188,10 @@ Or, use the `@` symbol to escape the curly braces: In the first above, we used the `ref` and `computed` functions from Vue's Composition API. Splade Core automatically imports these functions for you. Here's a list of all the functions that are automatically imported: - `computed` +- `inject` - `nextTick` - `onMounted` +- `provide` - `reactive` - `readonly` - `ref` diff --git a/src/ScriptParser.php b/src/ScriptParser.php index 6e7a0ff..9f478a2 100644 --- a/src/ScriptParser.php +++ b/src/ScriptParser.php @@ -26,8 +26,10 @@ class ScriptParser protected array $vueFunctions = [ 'computed', + 'inject', 'nextTick', 'onMounted', + 'provide', 'reactive', 'readonly', 'ref',