博客
CLI命令
# install dependencies
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# run tests with jest and preact-render-spy
yarn test
有关工作原理的详细说明,请参阅。
注意:预渲染时,模块作为组件在大多数Web API不可用的Node.js
博客
CLI命令
# install dependencies
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# run tests with jest and preact-render-spy
yarn test
有关工作原理的详细说明,请参阅。
注意:预渲染时,模块作为组件在大多数Web API不可用的Node.js环
博客
CLI命令
# install dependencies
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# run tests with jest and preact-render-spy
yarn test
有关工作原理的详细说明,请参阅。