kring

Results 3 issues of kring

npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! dev react@"^17.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^15.0.2|| ^16.0.0-rc || ^16.0.0"...

**Description** ```jsx import { observer } from 'mobx-react-lite' const App = observer(() => { return ( ) }) ``` The initial rendering is correct, but an error occurs when inputting...

bug

rc-tools/lib/server/js2html.js line - 16 ~ 18 ` if (fs.existsSync(path.join(cwd, 'examples/template.xtpl'))) { tplName = path.join(cwd, 'examples/template.xtpl'); } ` 当我想要自定义模板时,翻阅源码发现提供了这么一个方法。然后我在自己项目添加examples/template.xtpl文件后,报错:找不到文件 examples/template.xtpl.xtpl 。可见render时默认添加的后缀.xtpl。故这段代码是否存在问题,我认为应该改为: ` if (fs.existsSync(path.join(cwd, 'examples/template.xtpl'))) { tplName = path.join(cwd, 'examples/template'); }...