micro-editor / micro-editor/micro
Vue syntax highligthing cannot work on <script setup></script>
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
I have a problem when i try write code javascript on tag <script setup> nothing snytax highlighting is work.
But when i try change <script setup> to <script> is work, but i cant use feature setup script on Vue JS 3



Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report in micro using a Vue 3 single-file component with <script setup>, then compare it with a plain <script> block. Trace the editor’s JavaScript and Vue syntax-highlighting entry point and add coverage for the setup form; done means JavaScript in <script setup> is highlighted without changing ordinary <script> behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100