cakephp-vite icon indicating copy to clipboard operation
cakephp-vite copied to clipboard

ViteHelper plugin for CakePHP and Vite JS

Results 8 cakephp-vite issues
Sort by recently updated
recently updated
newest added

I made some modifications, but I was not able to finish. - I removed the `ConfigDefaults` class and I used the Helper's default config method. (Helpers uses `InstanceConfigTrait`) - all...

Currently, when rendering the script tag it adds the "files" parameter as an attribute, which is not necessary. For example:

bug

This PR introduces a new `development.checkManifest` param. When `true` (defaults to `false` for backward compatibility) the helper will look for manifest readability in order to detect dev mode. This is...

enhancement

Hello, first at all - thank you for your time you used to develop this plugin. Unfortunately today I spotted one problem when I was trying to use it "production"...

Development under Safari is currently not possible, a `[Warning] [blocked] The page at https://my-domain.local was not allowed to run insecure content from http://localhost:3000/webroot_src/main.ts.` etc. warning will be logged. When switching...

enhancement
help wanted

Vite config: ``` build: { emptyOutDir: true, outDir: './webroot/dist', manifest: true, rollupOptions: { input: { main: './webroot_src/main.ts', }, }, }, ``` Generated html: ![out-dir-bug](https://user-images.githubusercontent.com/77938819/213916714-83c71977-8ab7-4538-a6a6-afedc8f6669d.jpeg) The green scripts are inserted by...

enhancement
help wanted

Adding the process to load chunk files split by Vite. Given the following manifest.json: ``` "_vendor-CaB_GCbx.js": { "file": "dist/vendor-CaB_GCbx.js", "name": "vendor", "css": [ "dist/vendor-X5Bfdti4.css" ] }, "resources/src/main.ts": { "file": "dist/main.ts-CyiR19a8.js",...

I finally got around to giving this is a good go on CakePHP5. However, I'm hitting a CORS issue when I run `build`, but not `dev`. I'm using DDEV to...