-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
@phederal
Description
If I use CLI to create a project with --custom flag and selecting Vue I get VIte config without specifying CORS rules. I think you should add this to the config that is created with the project. Not just for Vue, but for the rest of the templates too.
export default defineConfig({ server: { cors: { origin: '*', }, }, plugins: [ vue({ template: { transformAssetUrls: { base: null, includeAbsolute: false, }, }, }), leaf({ input: ['app/views/css/app.css'], refresh: true, }), ], });
Metadata
Metadata
Assignees
Labels
No labels