bongkai / lin-cms-react Goto Github PK
View Code? Open in Web Editor NEW🔆 React+Antd构建的CMS开发框架
Home Page: http://doc.cms.talelin.com/
License: MIT License
🔆 React+Antd构建的CMS开发框架
Home Page: http://doc.cms.talelin.com/
License: MIT License
➜ lin-cms-react git:(master) ✗ npm run build
> [email protected] build /Users/admin/personal/Bongkai/lin-cms-react
> node scripts/build.js
Creating an optimized production build...
build [== ] 10%(node:62627) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Build completed in 70.435s
Failed to compile.
./src/components/base/dynamic-icon/Icons.tsx
Line 1:22: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 2:1: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 3:9: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 4:16: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 5:20: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 6:16: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 7:18: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 8:16: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 9:19: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 10:16: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 11:24: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 12:16: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Line 13:27: Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Search for the keywords to learn more about each error.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/admin/.npm/_logs/2020-07-21T01_38_21_715Z-debug.log
➜ lin-cms-react git:(master) ✗
刚看了一下仓库的整体代码以及线上demo,整体来说还是相当不错的,这不是一个小项目,确实付出了比较多的时间。
.jsx里面的三目运算符使用的还不甚合理,记得优化一下,其它的结构几乎与vue版本无异,几乎也实现了全部功能,可见作者着实用心,让人感佩。
当然react的新特性hooks我还未看到,作者可以适当使用一下,毕竟新特性的噱头,很多人都愿意买单的,无论是为了作者自己的推广,还是学习规划。
另外redux的使用有些许臃肿,可以再适当拆分,当然如果使用mobx必然会更棒,redux的概念有时候很不友好,让人生畏。
最后,希望作者再接再厉,早日成为团队推荐react实现。
由于特殊需要,请问如何将项目中的scss,换成css
你做这个 他们团队没给你工资吗
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.