-
Notifications
You must be signed in to change notification settings - Fork 7
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
[ANNOUNCEMENT] Examples for packages #13
Comments
Great! But does it mean that we have to reinstall the packages in order to get the examples? |
In the Online IDE, there is no need to reinstall. The IDE will fetch the latest packages info and only download scripts when users import them. For local installation by |
OK, thanks. And examples are added :P |
Hi guys. From wyg 0.2.2, we supported a new field
examples
for your packages.You can now specify examples' names in registry-packages.ts
For example:
wyg-registry/registry-packages.ts
Lines 36 to 46 in f050c6f
It will refer to https://github.com/antfu/ziyue-wy/blob/master/例一.wy
Then users will see the examples in our Online IDE
Feel free to add examples for your packages! Cheers!
cc @lymslive @akira-cn @GLanguage @alainsaas @xingzilong
The text was updated successfully, but these errors were encountered: