Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration in other modules #62

Open
yashha opened this issue Oct 4, 2019 · 4 comments
Open

Integration in other modules #62

yashha opened this issue Oct 4, 2019 · 4 comments

Comments

@yashha
Copy link

yashha commented Oct 4, 2019

I would really like to integrate this module into wp-nuxt.

I can't get it working using this.requiredModule:

this.requireModule(['@nuxtjs/feed', Object.assign({}, options.feed, {
})])

Is this something that will be soon integrated or would that be something you would welcome a pr?

@yashha
Copy link
Author

yashha commented Oct 5, 2019

This is for now my solution.
https://github.com/yashha/wp-nuxt/pull/70/files

@TheAlexLichter
Copy link
Member

TheAlexLichter commented Oct 8, 2019

@yashha Hey 👋

requireModule should work fine 🤔
Example: https://github.com/nuxt-community/nuxt-tailwindcss/blob/master/lib/module.js#L42

@yashha
Copy link
Author

yashha commented Oct 8, 2019

@manniL it works fine, but I couldn't pass the required array.
In Feed Module you have to provide an array or an factory object. I got an error when I provided an object as far as I remember.

@yashha
Copy link
Author

yashha commented Oct 8, 2019

Here the code to reproduce:
https://glitch.com/~seen-hippopotamus

I want to configure the module the module without using the nuxt.config.js in my module.

@nozomuikuta nozomuikuta mentioned this issue Jul 21, 2022
28 tasks
@nozomuikuta nozomuikuta mentioned this issue Dec 14, 2022
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants