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

请问有没有高级完整一点的例子? #1

Open
hunteryun opened this issue Mar 3, 2022 · 3 comments
Open

请问有没有高级完整一点的例子? #1

hunteryun opened this issue Mar 3, 2022 · 3 comments

Comments

@hunteryun
Copy link

hunteryun commented Mar 3, 2022

原谅我是一个新手,我在寻找关于web component与后端结合的方案,当我运行npm run build之后,我不知道该怎么后续使用build之后的东西?

@aui
Copy link
Contributor

aui commented Mar 4, 2022

examples 目录就是非常具体的例子,可以启动开发服务器直接看到效果:

npm run examples

@hunteryun
Copy link
Author

呃,其实是这样,我认真读完了官网文档(web-widget.js.org),感觉很全面,很正规,只是我对这个web-widget概念还有点陌生,我是不太清楚,在我执行npm run build之后,生成的 dist/umd/main.js, dist/esm/main.js, dist/system/main.js, dist/cjs/main.js这些文件,我该怎么使用它们(不需要node)?

没有找到web-widget对应的github,所以冒昧的在这里提问,谢谢

@aui
Copy link
Contributor

aui commented Mar 7, 2022

原来是这样。。web-widget 仓库暂时没有公开,你可以先从 https://github.com/growing-web/rfcs/discussions 了解到进展。

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