Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import HtmlVaporSupport #15

Open
nonfungibletunji opened this issue Sep 8, 2023 · 0 comments
Open

import HtmlVaporSupport #15

nonfungibletunji opened this issue Sep 8, 2023 · 0 comments

Comments

@nonfungibletunji
Copy link

nonfungibletunji commented Sep 8, 2023

whats the correct package installation, to get this import, cause i am receiving error no module found

// swift-tools-version: 5.8

import PackageDescription

let package = Package(
    name: "sightuary-swift-vercel",
    platforms: [
        .macOS(.v12)
    ],
    dependencies: [
        .package(url: "https://github.com/vapor/vapor.git", from: "4.76.0"),
        .package(url: "https://github.com/swift-cloud/Vercel", branch: "main"),
        .package(url: "https://github.com/pointfreeco/swift-html-vapor", from: "0.4.0"),
        //.package(url: "https://github.com/binarybirds/swift-html", from: "1.6.0")

    ],
    targets: [
        .executableTarget(name: "App", dependencies: [
            .product(name: "Vapor", package: "vapor"),
            //.product(name: "SwiftHtml", package: "swift-html"),
            .product(name: "HtmlVaporSupport", package: "swift-html-vapor"),
            "Vercel",
            .product(name: "VercelVapor", package: "Vercel"),
        ])
    ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant