@3b4b/circle-button-fj 中文文档教程
\
此 Web 组件遵循 open-wc 推荐。
Installation
npm i circle-button-fj
Usage
<script type="module">
import 'circle-button-fj/circle-button-fj.js';
</script>
<circle-button-fj></circle-button-fj>
Testing with Web Test Runner
要执行单个测试运行:
npm run test
要以交互式观察模式运行测试:
npm run test:watch
Demoing with Storybook
要为您的组件运行 Storybook 的本地实例,请运行
npm run storybook
要构建 Storybook 的生产版本,请运行
npm run storybook:build
Tooling configs
对于大多数工具,配置位于 < code>package.json 以尽量减少项目中的文件数量。
如果你自定义配置很多,你可以考虑将它们移动到单独的文件中。
Local Demo with web-dev-server
npm start
运行本地开发服务器,为位于 demo/index.html
中的基本演示提供服务
\
This webcomponent follows the open-wc recommendation.
Installation
npm i circle-button-fj
Usage
<script type="module">
import 'circle-button-fj/circle-button-fj.js';
</script>
<circle-button-fj></circle-button-fj>
Testing with Web Test Runner
To execute a single test run:
npm run test
To run the tests in interactive watch mode run:
npm run test:watch
Demoing with Storybook
To run a local instance of Storybook for your component, run
npm run storybook
To build a production version of Storybook, run
npm run storybook:build
Tooling configs
For most of the tools, the configuration is in the package.json
to minimize the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
Local Demo with web-dev-server
npm start
To run a local development server that serves the basic demo located in demo/index.html
更多
你可能也喜欢
- @100mslive/hmsimagetouchup 中文文档教程
- @22g/utility-types 中文文档教程
- @2ndaddress/sa-data-factories 中文文档教程
- @44north/toggle-tailwindcss-darkmode 中文文档教程
- @555platform/555-sdk-parser 中文文档教程
- @7r/eslint-config-7r-building 中文文档教程
- @abai/search 中文文档教程
- @abeai/node-logging 中文文档教程
- @abhaykumar01234/vp_test 中文文档教程
- @abramstyle/kl-utils 中文文档教程