dunky11 / react-saas-template Goto Github PK
View Code? Open in Web Editor NEWπ Template for building an SaaS / admin website using React + Material-UI
Home Page: https://reactsaastemplate.com
License: MIT License
π Template for building an SaaS / admin website using React + Material-UI
Home Page: https://reactsaastemplate.com
License: MIT License
I recently updated my Chrome browser to v88 and the site crashed. After investigation, I narrowed it down to this line int he PriceCard.js
borderRadius: theme.shape.borderRadius * 2
Once I removed the "* 2" the site worked again.
Hi, well done on the template.
I noticed a service worker registration error being logged in the console. You can verify this on the live demo - https://reactsaastemplate.com. I did an independent deployment of the template, and the same error is logged.
Chrome 88
Firefox 84
Regards
It seems like the dashboard page is not protected. I can open the dashboard without logging in or after logging out.
Doesn't look like the logging in is doing anything?
In the below code snippets, the use of pushMessageToSnackbar & setPushMessageToSnackbar is reversed.
react-saas-template/src/logged_in/components/Main.js
Lines 83 to 88 in 7697590
react-saas-template/src/logged_in/components/Main.js
Lines 217 to 230 in 7697590
react-saas-template/src/logged_in/components/Main.js
Lines 299 to 301 in 7697590
Once logged in, navigate through the NavBar icons (Dashboard, Posts, Subscriptions). If you press the Back button in the browser to navigate to the previous, it shows the same section and it is required to press the Back button a second time to navigate to the previous section.
Can be reproduced in the demo site.
Hello. I cloned and run clean project (main branch) and faced following JS errors in console after logging:
selectedTab
is marked as required in NavBar
, but its value is null
.buttonRef
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase buttonref
instead. If you accidentally passed it from a parent component, remove it from the DOM element.labelWidth
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase labelwidth
instead. If you accidentally passed it from a parent component, remove it from the DOM element.Per my understanding, first one is caused by undetermined order in which components are rendered and can be fixed by assigning dummy/empty value to selectedTab (so that NavBar does not mark anything unless some componen is rendered).
Second and third issues seems to be related to changes in mui. Is that correct? Should they just be removed?
Thanks in advance for any help.
Hola buenas noches queria saber si se puede implementar en github pages ya que no lo logro hacer funcionar.
I followed the instructions to start the project, but I get an error on startup:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/osboxes/dev/github/react-saas-template/node_modules/.bin:/home/osboxes/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: /home/osboxes/dev/github/react-saas-templatestart: Args: [ '-c', 'node scripts/start.js' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: nullstart: Failed to exec start script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start: node scripts/start.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:321:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:321:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/osboxes/dev/github/react-saas-template
16 verbose Linux 4.18.0-25-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
18 verbose node v12.16.0
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: node scripts/start.js
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Any thought to doing this?
I'm trying to follow their guide but haven't been able to crack it as I don't really understand all the parts of the template. https://mui.com/guides/migration-v4/
It seems there's lots of bug fixes in v5, as well as being benchmarked as 50% faster
Project is very good!
An error was found on linux:
Module not found: Can't resolve './navigation/NavBar' in '/home/dbit/δΈθ½½/react-saas-template/src/logged_out/components'
B should be uppercase
src/logged_out/components/navigation/Navbar.js --> NavBar.js
How can registration can be enabled?
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.