Skip to content

Does it work with SvelteKit? #9

@vakopian

Description

@vakopian

Hello,
I'm trying to use this component in a SvelteKit app, but I'm encountering some css loading issues (see below).
I saw there is a demo repo for using this editor with Sapper, but I'm wondering if there are known issues with SvelteKit.
Here is what I've tried:

npm init svelte@next
npx svelte-add@latest tailwindcss
npm install
npm install -D tailwind-editor

But when I use the simple <Editor /> example given in the main page of this repo, I get lots of issues with tailwind styles not being properly loaded for the editor. Is there some special configuration I need to adjust to make it work for SvelteKit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions