预先投资组合

时间:2024-03-06 02:48:12
【文件属性】:

文件名称:预先投资组合

文件大小:5.92MB

文件格式:ZIP

更新时间:2024-03-06 02:48:12

JavaScript

博客 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环境中执行。 为了解决这个问题,可以将代码包装起来,就像if (typeof window !== 'undefined') 。 不要在build命令中添加preact build --no-prerender ,因为这会阻止博客文章的呈现。


【文件预览】:
preact-portfolio-cms-master
----netlify.toml(136B)
----yarn.lock(488KB)
----content()
--------images()
--------blog()
----prerender-urls.js(976B)
----.netlify()
--------state.json(53B)
----src()
--------manifest.json(439B)
--------style()
--------template.html(1KB)
--------components()
--------assets()
--------crawler()
--------index.js(75B)
--------routes()
--------static()
----.babelrc(122B)
----README.md(693B)
----preact.config.js(486B)
----tests()
--------__mocks__()
--------header.test.js(436B)
----.gitignore(45B)
----package.json(2KB)

网友评论