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

Configure a working development environment for testing in the broswer #22

Closed
jgaehring opened this issue Apr 27, 2018 · 2 comments
Closed

Comments

@jgaehring
Copy link
Member

I'm optimistic this can be achieved just by modifying the Webpack dev config, specifically settings on the devServer. The proxy, headers and https properties seem most relevant.

If using the farmOS Docker image as a development backend, it will probably also require some configuration with the Drupal CORS module.

@jgaehring
Copy link
Member Author

Just dumping some links here for reference... two different approaches for configuring Webpack for issues like ours:

webpack/webpack-dev-server#533 (comment)
https://stackoverflow.com/questions/31602697/webpack-dev-server-cors-issue

@jgaehring
Copy link
Member Author

Finally resolved with 562d55d, just updating the documentation page now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant