Giter Club home page Giter Club logo

Comments (2)

khalwat avatar khalwat commented on August 12, 2024 1

Yes, it should work fine with multi-site, and you can even use a multi-environment config in the config/vite.php should you need it.

My guess is that your issue here is on the DDEV end of things. Without knowing the details of how you have everything set up, I can't really help much.

Specifically, what exactly did you change when "migrat[ing] from single site to multisite"? Is it the same DDEV container? Is port 3000 open on that container?

from craft-vite.

Dean-Wilson avatar Dean-Wilson commented on August 12, 2024 1

Thanks so much for the response. Yeah I figured as much. TLDR - fixed, had upgraded ddev and didn't see that docker-compose.vite.yaml was lost in the process as that file is git ignored.

Looking at the commits over the last few times I've worked on this, I did upgrade ddev (noticed craftcms was recently added as a project type to ddev). The only changes that made there were changing the type from php to craftcms in .ddev/config.yaml. Then I added the additional hostname for the new site in the same file. I tried reverting the project type, completely pruning everything from docker, re-imnporting a fresh db and no luck. With docker ps - indeed that port was not exposed on ddev-router. That's when I went through the setup steps another time and noticed docker-compose.vite.yaml was missing - it didn't show as a change as the ddev folder has it git ignored.

from craft-vite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.