Skip to content

How to use with SvelteNative? #23

Description

@zeddrix

Hi @flore2003 & @ditoglez. This package is so great. I just wish that it will become available as sveltenative-markdown-view in the future. I'm currenly using SvelteNative and I have a simple svelte-native-template created by following the steps here and the app is already large so there's no issues for svelte-native.

Now, I wanted to include this package into my project. But, is it possible to use NativeScript in SvelteNative? I'm thinking that it is possible since SvelteNative is powered by NativeScript, and Svelte is just a compiler. However, I just don't know how to mix the two to add this package.

I installed it into the project just as instructed here. But I'm currently getting the error below:

Module not found: Error: Can't resolve '@nativescript/core/color/color' in '/Users/zeddrix/Documents/manatal-coop_svelte-native/node_modules/nativescript-markdown-view'
 @ ../node_modules/nativescript-markdown-view/markdown-view.js 5:14-55
 @ ./testPage.xml
 @ . sync (?<!\bApp_Resources\b.*)(?<!\.\/\btests\b\/.*?)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$
 @ ./app.ts

Please help me connect/configure this package into my SvelteNative app after fixing this error, too. Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions