Open zhaozhongyu opened 1 year ago
@zhaozhongyu 提供一个范例项目给我
@zhaozhongyu Were you able to solve this issue?
I have the same issue
@devilwjp how I can solve it?
@Parag2385 were you able to solve this problem?
@glepka , nope, I couldn't figure out. I ended up not using veaury. Instead, I'm developing the vue app screen by screen and using routing to run it by the side of our react app.
@Parag2385 @glepka Can anyone provide an example project?
@Parag2385 @glepka Can anyone provide an example project?
what exactly needs to be sent?
@Parag2385 @glepka Can anyone provide an example project?
what exactly needs to be sent?
Provide the github URL of a test project. @glepka
@Parag2385 @glepka Can anyone provide an example project?
what exactly needs to be sent?
Provide the github URL of a test project. @glepka
I created a private repository and added you as a collaborator https://github.com/glepka/vueinreact
There is a simple structure The Vue component should appear on the "/test" route, but this does not happen
The vue component itself is located in the dist folder
@Parag2385 @glepka Can anyone provide an example project?
what exactly needs to be sent?
Provide the github URL of a test project. @glepka
I created a private repository and added you as a collaborator https://github.com/glepka/vueinreact
There is a simple structure The Vue component should appear on the "/test" route, but this does not happen
The vue component itself is located in the dist folder
@glepka
So is this project built using create reat app
? It looks like you don't have webpack.config.js configured, I think you may need to run npm run eject
first.
For details on how to configure webpack, please refer to https://github.com/gloriasoft/veaury/tree/master/dev-project-react/README.md
I think the problem you're having is that your project doesn't recognize the .vue file because you didn't add veaury/webpack/VeauryVuePlugin in webpack.config.js
@glepka Is the problem solved?
helloworld.vue内容
react中引用:
此时控制台提示
界面的元素: