Comments (4)
hey @Hebilicious, please note that @volar/vue-langauge-core
is renamed to @vue/language-core
.
from volar.js.
I've created a nuxt module that use custom blocks.
https://github.com/Hebilicious/server-block-nuxt
from volar.js.
hey @Hebilicious, please note that
@volar/vue-langauge-core
is renamed to@vue/language-core
.Hebilicious/server-block-nuxt@
main
/packages/sfc-server-volar/package.json#L41
Thanks, I've updated. I haven't been able to understand why defaults exports can't be used in my custom blocks though.
from volar.js.
You should use export =
or module.exports =
instead of export default
.
from volar.js.
Related Issues (20)
- Better syntax highlight for native CSS nesting
- Add a CLI for type checking HOT 7
- Refactor virtual code URI format
- File name error causes Volar to crash HOT 1
- `sfc.scriptSetup.ast` without `getStart` & `forEachChild` method when use vue-tsc to check type HOT 2
- [TypeScript Plugin] script snapshot and version may be out of sync
- Emmet inside `<style>` tag don't work HOT 4
- Code styling inside `style` tag don't same for `lang="postcss"` and default `css` HOT 2
- @volar/eslint does not yet allow for ESLint to understand imported Vue SFC components HOT 1
- Deprecate `resolveRenameNewName`, `resolveRenameEditText` hooks
- If any TextSpan mapping fails, all TextEdits should be discarded
- Showing double comment when hover function in vue sfc template block
- [bug]: duplicated results on intellisense
- Assistance HOT 1
- Videos, tutorials, learning resources!
- Can't read Virtual Codes via Volar Labs extension HOT 3
- Support overlapping mapping ranges HOT 12
- Has the buildMappings function been removed? HOT 1
- Error: VirtualCode id must be lowercase: scriptSetupFormat HOT 4
- Simplify `LanguagePlugin.typescript.extraFileExtensions`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volar.js.