Change client from react (Next.js) to vue (Nuxt.js)
See original GitHub issueHi! I want to change ReactJS to VueJS. My steps:
- Download api-platform ver. 2.6.2,
- Build images,
- Delete all files from ./pwa (Dockerfile, and .* files left),
- Follow https://api-platform.com/docs/client-generator/nuxtjs/ with command prefix
docker-compose run --rm pwa ...
, - Command
... yarn create nuxt-app your-app-name
creates ./pwa/your-app-name directory so I move all files to ./pwa, - Once more build pwa images
docker-compose build pwa
, - Run stack
docker-compose up
.
All request from localhost are going to api
instead of pwa
!? o0
Am I miss something from docs? I shouldn’t delete files from ./pwa (I don’t want to mess with old React files, I want fresh install of Vue)?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Change client from react (Next.js) to vue (Nuxt.js)
I want to change ReactJS to VueJS. My steps: Download api-platform ver. 2.6.2,; Build images,; Delete all files from ./pwa (Dockerfile, and ....
Read more >React.js / Next.js and Vue.js / Nuxt.js ... - DEV Community
React.js and Vue.js are both great frameworks. And Next.js and Nuxt.js even bring them to the next level, which helps us to create...
Read more >React.js / Next.js and Vue.js / Nuxt.js Syntax Comparison Side ...
Change -State. React.js. Class component. class MyReactComponent extends React.Component { state = { count: 0, }; ...
Read more >Next.js vs Nuxt.js - Is There A Clear Winner? | Clean Commit
Nuxt.js and Next.js share a ton of similarities and are both hot frameworks right now. We wanted to provide some insights into how...
Read more >Next.js vs NuxtJS: a comparison of two powerhouses
NuxtJS is a free, open-source JavaScript framework used to build Vue.js apps. Its objective is to make it simple, quick, and organized for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My changes in caddyfile:
hi, i had the same problem as @HugoFerrant and solved it by adding:
ENV NUXT_HOST=0.0.0.0 ENV NUXT_PORT=3000
to the pwa Dockerfile.