svelte-schema-form icon indicating copy to clipboard operation
svelte-schema-form copied to clipboard

Vite complains missing ./css/layout.scss

Open karikolehmainen opened this issue 11 months ago • 0 comments

I tried to use the package with Svelte 4.2.19 and got this error: [plugin:vite:import-analysis] Missing "./css/layout.scss" specifier in "@restspace/svelte-schema-form" package I used the code from the README directly:

	import { SubmitForm } from '@restspace/svelte-schema-form';
        import '@restspace/svelte-schema-form/css/layout.scss';
  	import '@restspace/svelte-schema-form/css/basic-skin.scss';
	let schema = {
		type: "object",
		properties: {
			"x": { "type": "string" }
		}
	};
	let value = {};
	const submit = (e) => {
		alert(JSON.stringify(e.detail.value, undefined, 2));
	}

karikolehmainen avatar Nov 23 '24 12:11 karikolehmainen