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

issue about how to use this as example of astro-integration-template #112

Open
wanghaisheng opened this issue Jun 16, 2024 · 2 comments
Open

Comments

@wanghaisheng
Copy link

  1. is virtual-module.astro a test page for fake integration named astro-integration-kit
  2. if so ,why there is prefix virtual:? since we build this lib under package and pnpm add to playground ,it should use its name?
    where does this /config come from, i dont find it in source code or install node_modules either

import config from "virtual:astro-integration-kit-playground/config"
// @ts-ignore
import simple from "virtual:playground/simple"
// @ts-ignore
import arraySimple from "virtual:playground/array-simple"
// @ts-ignore
import arrayComplex from "virtual:playground/array-complex"

image

@florian-lefebvre
Copy link
Owner

Hey! This repository is a bit special and not the best example for the template as it's not an integration. https://github.com/florian-lefebvre/astro-als is a better example I think

@florian-lefebvre
Copy link
Owner

Feel free to reach out in Astro's Discord server if you want more details! We have a dedicated #integrations channel at https://astro.build/chat

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

2 participants