nuxt-modules / design-tokens

Design tokens module for Nuxt
https://design-tokens.nuxtjs.org
MIT License
50 stars 3 forks source link

Build a PoC editor #12

Open Tahul opened 2 years ago

Tahul commented 2 years ago

As tokens module has been built to be used with an editor, this is the next step for this module!

First steps has been done in last commit, the editor should be able to do this:

pi0 commented 2 years ago

Mentioning just to be consistent with upcoming framework development. Config Editor will be also be a feature of nuxt/devtools and using nuxt/ui components. I would be nice collaboration opportunity if you use the same component library and help to implement missing form elements. Modules can plug in their UI using a webview (iframe) to devtools but it can probably look more native if using same design language.

Also for HMR support, if you migrate to app.config API, the plugin can inject them directly at runtime without need of AST modifications until applying final changes to write to the file.

/cc @antfu to be in context.