bigerfe / koa-react-ssr Goto Github PK
View Code? Open in Web Editor NEWzz.js v2.0 一个可以用来做项目的ssr开发骨架,基于 koa2 + react16 + router5 + wp4 搭建
Home Page: http://zz.bigerfe.com
License: MIT License
zz.js v2.0 一个可以用来做项目的ssr开发骨架,基于 koa2 + react16 + router5 + wp4 搭建
Home Page: http://zz.bigerfe.com
License: MIT License
因为在 node 端运行 找不到 浏览器的一些对象
connot find module @babel/runtime-corejs3
我将你的代码下载到本地后,安装好依赖,npm run dev,然后更改APP文件下的index.js,改一下标题后,浏览器不自动刷新,请问这个怎么解决?
默认是在src/pages下创建的,但是你的目录结构没有这个pages目录,所以我手动创建了,但是还是报错啊
`λ zzjs -p
D:\workspace\test\ssr\zzjs-test
? 请输入page名称: user
make dir success.
D:\Tool\nodejs\nvm\v12.17.0\node_modules\zzjs-cli\src\init-page.js:13
throw err;
^
[Error: ENOENT: no such file or directory, scandir 'D:\Tool\nodejs\nvm\v12.17.0\node_modules\zzjs-cli\bin\index.js\code-temp\page\temp'] {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'D:\Tool\nodejs\nvm\v12.17.0\node_modules\zzjs-cli\bin\index.js\code-temp\page\temp'
}
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.