---
title: Hoisted Scripts
description: when an import or script block is embedded in HTML we need to preserve this
---
# {{title}}
The import above should be brought into the VueJS component which would then allow us to use this _fake_ component in our page:
Furthermore we can add a script setup block like this:
And now the function we've defined can be used: {{ sayHi('Foo') }}
This doesn't just apply to `
The traditional _script blocks_ can appear multiple times, and even use different languages without incident. These blocks will be maintained as separate blocks in the resulting SFC component.