Pascal Martineau

Results 45 comments of Pascal Martineau

Would this feature allow importing from `#app` (i.e. defineNuxtPlugin, useState, etc) inside a Nuxt module built with unbuild ? Or is this already possible with unbuild ?

How about importing from #app inside a plugin template in a Nuxt module ?

Thanks for the tip, I'm loving unbuild so much !!! The problem with `unbuild stub` is that Nuxt3 can't find the plugin injected with `addPluginTemplate` in dev mode as it...

@Sytten hmmm I'm no TypeScript wizard so I compared your code to the official fieldAuthorizePlugin which should be similar in scope. At first glance, the corresponding types `FieldShieldResolver` and `FieldAuthorizeResolver`...

It also occurs to me that the generated type differ from what you state in the other issue: This is what you wrote: ``` interface NexusGenPluginTypeConfig { shield?: ShieldRule }...

Did you base your code off of the official fieldAuthorize plugin ?

Turns out multilingual support is quite easy to achieve with polylang-pro, using the following: ``` add_filter( 'pll_get_post_types', 'mytheme_pll_get_post_types', 10, 2 ); function mytheme_pll_get_post_types( $post_types, $is_settings ) { $post_types['af_form'] = 'af_form';...

Yeah, maintaining translations for your field groups can be a PITA, plus you might have problems with differing group keys and what not. I prefer translating only the form fields...

You can use `this.$feathers.service('messages')` instead of `this.$services.messages`