diff --git a/.gitignore b/.gitignore index 1db07e0..91cf741 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ index.html test.js .vscode +.httpserver node_modules/ dist/ *.sublime-project diff --git a/Readme.md b/Readme.md index 71dc64a..d26c9ad 100644 --- a/Readme.md +++ b/Readme.md @@ -11,3 +11,36 @@ - ... + @bd/core 针对`web components`的核心封装库, 以数据驱动, 可以更方便的开发wc组件 + + +### 测试预览 + +可以根目录放置一个http服务的配置文件`.httpserver`, 如下 +```json +{ + "enabled": true, + "port": 8090 +} +``` + +然后, 创建个html文件, 如下, 即可右键打开预览了. + +```html + + + + + + + + + + + + + + + + + +``` \ No newline at end of file