designrevision / shards-dashboard-react Goto Github PK
View Code? Open in Web Editor NEW⚛️A free and beautiful React admin dashboard template pack.
Home Page: https://designrevision.com/downloads/shards-dashboard-lite-react/
⚛️A free and beautiful React admin dashboard template pack.
Home Page: https://designrevision.com/downloads/shards-dashboard-lite-react/
Hello,
We have received a vulnerability disclosure against this repository. I have tried finding a contactable e-mail and a security policy for this repository, but couldn't find one.
If you could provide me with this information or would like me to provide the information on this issue, let me know.
Otherwise, you can take a look at the advisory here. It is private to the discloser and maintainers only.
If you have any questions, let me know.
I think there's a missing ccs file or the path is not correct
Module not found: Error: Can't resolve './shards-dashboard/styles/shards-dashboards.1.1.0.min.css' in './src'
I was following the instructions on this website "https://scalac.io/user-authentication-keycloak-1/" to integrate the keycloak into shards-dashboard when I encountered some error saying
js__WEBPACK_IMPORTED_MODULE_4__ is not a function
any ideas?
Hi,
Getting this error
Module not found: Can't resolve './shards-dashboard/styles/shards-dashboards.1.1.0.min.css' in '/Users/Desktop/shards-dashboard-react-master/src'
After cloning the repo, making the changes on .gitmodules told by @design-revision here and npm installing the dependencies the build results in a blank screen:
The console output for the build is:
npm run build
> [email protected] build /Users/pedneri1/Desktop/shards-dashboard-react
> cross-env REACT_APP_BASENAME=/demo/shards-dashboard-lite-react react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
251.8 KB build/static/js/1.6fe397d4.chunk.js
26.88 KB build/static/js/main.75140f8f.chunk.js
25.17 KB build/static/css/1.db30c455.chunk.css
18.41 KB build/static/css/main.491f31e8.chunk.css
763 B build/static/js/runtime~main.4a686d48.js
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
http://bit.ly/CRA-deploy
the build folder has these files:
The generated index.html looks like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="./favicon.ico" />
<meta
name="viewport"
content="width=device-width,initial-scale=1,shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link
href="https://use.fontawesome.com/releases/v5.0.6/css/all.css"
rel="stylesheet"
/>
<link rel="manifest" href="./manifest.json" />
<title>Shards Dashboard Lite React</title>
<link href="./static/css/1.db30c455.chunk.css" rel="stylesheet" />
<link href="./static/css/main.491f31e8.chunk.css" rel="stylesheet" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script>
!(function(l) {
function e(e) {
for (
var r, t, n = e[0], o = e[1], u = e[2], f = 0, i = [];
f < n.length;
f++
)
(t = n[f]), p[t] && i.push(p[t][0]), (p[t] = 0);
for (r in o)
Object.prototype.hasOwnProperty.call(o, r) && (l[r] = o[r]);
for (s && s(e); i.length; ) i.shift()();
return c.push.apply(c, u || []), a();
}
function a() {
for (var e, r = 0; r < c.length; r++) {
for (var t = c[r], n = !0, o = 1; o < t.length; o++) {
var u = t[o];
0 !== p[u] && (n = !1);
}
n && (c.splice(r--, 1), (e = f((f.s = t[0]))));
}
return e;
}
var t = {},
p = { 2: 0 },
c = [];
function f(e) {
if (t[e]) return t[e].exports;
var r = (t[e] = { i: e, l: !1, exports: {} });
return l[e].call(r.exports, r, r.exports, f), (r.l = !0), r.exports;
}
(f.m = l),
(f.c = t),
(f.d = function(e, r, t) {
f.o(e, r) ||
Object.defineProperty(e, r, { enumerable: !0, get: t });
}),
(f.r = function(e) {
"undefined" != typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(e, "__esModule", { value: !0 });
}),
(f.t = function(r, e) {
if ((1 & e && (r = f(r)), 8 & e)) return r;
if (4 & e && "object" == typeof r && r && r.__esModule) return r;
var t = Object.create(null);
if (
(f.r(t),
Object.defineProperty(t, "default", { enumerable: !0, value: r }),
2 & e && "string" != typeof r)
)
for (var n in r)
f.d(
t,
n,
function(e) {
return r[e];
}.bind(null, n)
);
return t;
}),
(f.n = function(e) {
var r =
e && e.__esModule
? function() {
return e.default;
}
: function() {
return e;
};
return f.d(r, "a", r), r;
}),
(f.o = function(e, r) {
return Object.prototype.hasOwnProperty.call(e, r);
}),
(f.p = "./");
var r = (window.webpackJsonp = window.webpackJsonp || []),
n = r.push.bind(r);
(r.push = e), (r = r.slice());
for (var o = 0; o < r.length; o++) e(r[o]);
var s = n;
a();
})([]);</script
><script src="./static/js/1.6fe397d4.chunk.js"></script
><script src="./static/js/main.75140f8f.chunk.js"></script>
</body>
</html>
And the Chrome console output is empty. What is going on ? Am I doing something wrong ?
Is this project abandoned, @c0okieshell?
Some companies/organizations need the license to be explicitly set before considering projects.
On Windows 8.1, instead of executing
npm install
You need to execute this command:
npm install --global --production [email protected]
Running npm audit
: found 70 vulnerabilities (63 low, 1 moderate, 6 high)
Hi all,
i get error " Module not found: Can't resolve './dasboard.scss' in 'D:\node\simple-notes\src\containers\pages\Dashboard' ". why? please help me, thank you
I didn't find any manuals and errors
I've implemented it on my server with the sudo npm run-script build
I have set my package json
{
"name": "shards-dashboard-lite-react",
"version": "1.0.0",
"private": true,
"homepage": "http://xx.xx.xx.xx/apps/spk/",
"dependencies": {
...................................
..............................
i have try to with
"homepage": "./",
still blank page and no error .
but when I try to implement with netfliy, it's ok (no problem, no error)
i have try with other project react without template (defaut react) build and deploy to my server ,it's ok (no problem, no error)
http://47.254.248.35/apps/spk/ // shard dashboard
http://47.254.248.35/apps/books/ // default
thanks in advance
Are there plans to include an option to switch to a dark theme?
hey !
I have a problem with images when I try and build the application using the react build (npm run build) : in the url of every image I get an extra "." at the start so it becomes "./static/ ...." instead of "/static/...." adding that point makes image not resolved.
how can I fix this ?
I encountered a problem with some elements not accepting the state change in the onClick
event.
example :
<Button onClick={(event)=>{
this.login(event)
}}>Log In</Button>
login(e) {
e.preventDefault();
this.setState({
isLoading:true
});
// Here, we call an external AuthService. We'll create it in the next step
Auth.login(this.state.user, this.state.password)
.catch(function (err) {
console.log("Error logging in", err);
}).finally(()=>{
this.setState({
isLoading:true
});
});
}
the setState
call on first doesn't happen. no matter what happens it doesn't change the state to true. It even passes when using callback function in the setState
method.
This happened multiple times and using other components did fix the problem.
is this a bug ? how can I fix it ?
Hello! Thanks for sharing this on Reddit -- looks superb!
I was playing around with the responsive design and noticed that your media queries look slightly off to me! Both the hamburger menu in the top right corner and the left-hand menu tray show with screen widths around 800-900px, but the button doesn't appear to serve any function in this state.
This configuration makes me have some troubles when deploying one react app to s3. It was not possible to access to the /login/ due to this configuration. I removed it and now it is ok. My suggestion is to remove it from the template.
There is a warning because of using a tag
prop on the NavLink
component provided by the shards-react
package in this project.
Here is the warning showing on the console:
Warning: Failed prop type: Invalid prop `tag` supplied to `NavLink`.
in NavLink (at SidebarNavItem.js:10)
first I got an error for the missing ....css.mini (I find that, copy and paste).
now I get:
Module not found: Can't resolve 'shards-react' in 'C:\Users\Ohad\workSpace\AllDashboardReact\shards-dashboard-react\src\components\add-new-post'
and a while after I get:
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
is there a chance this project doesn't supported by newer versions of node/react?
The @ 525efdc on the end of the folder name appears to prevent the downloading of the folder contents.
I have used free version from git repo and when i host it on firebase it shows path not found while reloading any page
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.