Comments (4)
On vacation at the moment, so have done nothing to vette this with Vite 3 yet.
Let me know if you find any info on how they are recommending you check for the devServer
running in Vite 3.
from craft-vite.
Looked into this briefly because I'd love to move to Vite 3 soon-ish, but will probably wait until a couple point releases come out and things are more settled 😅
Anyway, I didn't find a solution, but here are some PRs for future reference that had a direct bearing on the change:
from craft-vite.
Looks like this might be the way: https://github.com/vitejs/vite/pull/6819/files
So just try the raw dev server, and if I get a 400
it's running, and if it just can't connect at all, it isn't.
from craft-vite.
Addressed in:
Craft 3: Version 1.0.27 -> https://github.com/nystudio107/craft-vite/releases/tag/1.0.27
Craft 4: Version 4.0.2 -> https://github.com/nystudio107/craft-vite/releases/tag/4.0.2
from craft-vite.
Related Issues (20)
- Ability to prevent CSS from being extracted from the manifest HOT 1
- Multisite Compatible? HOT 2
- Twigpack::$plugin->manifest->getFileFromManifest() equivalent HOT 4
- Add registerAsset() function so register functionality can work directly with css HOT 1
- Your view on CSS style names coming from Craft's field HOT 2
- Multi-domain setup HOT 2
- .getCssInlineTags() function produces encoded output HOT 1
- Loading svg icons in css async (production) HOT 1
- Getting CORS and mim-type not allowed error with ddev HOT 5
- Add support for referencing src paths to craft.vite.inline() HOT 4
- Failed to connect to localhost port 3000 HOT 4
- TypeError when setting errorEntry configuration to an array HOT 2
- manifest.json path vite 5 HOT 1
- Having trouble with asset loading after build HOT 2
- Preview version for craft v5 already installable via composer? HOT 4
- Incorrect return from getCssHash() HOT 2
- CriticalCSS + entry types HOT 2
- Default ASYNC_CSS to false HOT 2
- Uninstallable with the Craft 5 Beta HOT 2
- How to use with Blitz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-vite.