-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
I got this error, when I set the following compiler options:
const config = {
compilerOptions: {
customElement: true
},
preprocess: preprocess(),
kit: {
adapter: adapter()
}
};
The received error:
.svelte-kit/generated/root.svelte:1:0 No custom element 'tag' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag="my-thing"/>. To hide this warning, use <svelte:options tag={null}/>
.svelte-kit/runtime/components/layout.svelte:1:0 No custom element 'tag' option was specified. To automatically register a custom element, specify a name with a hyphen in it, e.g. <svelte:options tag="my-thing"/>. To hide this warning, use <svelte:options tag={null}/>
Reproduction
git clone https://github.com/winston0410/sveltekit-custom-element
cd ./sveltekit-custom-element
npm i
npm run dev
Logs
No response
System Info
System:
OS: macOS 11.4
CPU: (8) arm64 Apple M1
Memory: 106.36 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.8.0 - /opt/homebrew/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.5.5 - /opt/homebrew/bin/npm
Browsers:
Brave Browser: 99.1.36.119
Safari: 14.1.1
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.34
@sveltejs/kit: next => 1.0.0-next.304
svelte: ^3.44.0 => 3.46.6
Severity
blocking all usage of SvelteKit
Additional Information
No response
cascading-jox, NatoBoram, 4t145, ManuelDeLeon, mantismamita and 7 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working