-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
Setting up webpack in react for vtk.js #785
Comments
What build error are you getting? From your provided config, I see that you re-declare the variables |
That error complains about not having a webpack.config.js in your root directory, but since you've used react-create-app, those reside in the A quick fix would be to edit your "start" script in package.json to |
I ejected from the react app but editing the package.json file seems to be at least moving in the right direction. Now its telling me that the auto prefixing set up is missing, and after installing it using npm install it seems to show up, and then say that I have another missing dependency. Im going to go ahead and keep doing that for a while. Thank you so much, this is the most progress I have had for a long while. Im new to react and es6 in general. |
You might benefit from running Glad to help. Hope you enjoy working with react/res6/vtk.js! Let us know whether things work for you. |
yah that worked too thanks you have been so much help I really appreciate it. |
The es6 instructions dont make it clear enough how to update the webpack files especially if you are using a create-react-app boiler plate. I was hoping I could get some sort of help doing it because i have been fumbling around with the configuration and still doesn't want to work. Something I would personally love to see is detailed instructions on how to set up vtk.js with react in general.
The devs on this have been constantly helpful, but its almost as if the instructions for using the vtk.js dependency are pretty outdated. I was hoping if I could get some details or an update or how to do it.
Here is my config file so far:
The text was updated successfully, but these errors were encountered: