@darkchest/wck 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +1 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -782,7 +782,7 @@ footer {
|
|
|
782
782
|
// 执行npm run dev时vite会启动服务并打开index.html, 我们在这个页面中导入src/index.js就能正常执行它里面的代码并注册web组件了
|
|
783
783
|
</script>
|
|
784
784
|
|
|
785
|
-
<script src="./dist
|
|
785
|
+
<script src="./dist/index.iife.min.js"></script>
|
|
786
786
|
<!-- 也可以执行npm run build直接编译src/index.js到dist目录, 然后在script的src属性中引入打包后的文件, 方案二选一即可 -->
|
|
787
787
|
</body>
|
|
788
788
|
</html>
|