383 comments found.
Hi! I just bought the vuejs theme. I’m following the README file to run the project, but in the first step, “npm install” I’m getting an error.
Can you, please, check what’s the problem an if it’s on the Theme, fix it? Many thanks!
Eltons-MBP:vuely elton$ npm install
> grpc@1.13.1 install /Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc > node-pre-gyp install—fallback-to-build—library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.13.1/node-v67-darwin-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for grpc@1.13.1 and node@11.2.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for grpc@1.13.1 and node@11.2.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
CXX Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
CXX Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
rm: ./Release/.deps/Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o.d.raw: No such file or directory
make: * [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o] Error 1
gyp CXX Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command ”/usr/local/Cellar/node/11.2.0/bin/node” ”/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” “—fallback-to-build”
“-library=static_library” “-module=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unknown/grpc_nod
e.node” “-module_name=grpc_node” “-module_path=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unkno
wn” “-napi_version=3” “-node_abi_napi=napi”
gyp ERR! cwd /Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute ’/usr/local/Cellar/node/11.2.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
build—fallback-to-build—library=static_library—module=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwi
n-x64-unknown/grpc_node.node—module_name=grpc_node—module_path=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v6
7-darwin-x64-unknown—napi_version=3—node_abi_napi=napi’ (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command ”/usr/local/Cellar/node/11.2.0/bin/node” ”/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/node_modules/.bin/node-pre-gyp”“install” “-fallback-to-build” “-library=static_library”
node-pre-gyp ERR! cwd /Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc
node-pre-gyp ERR! node -v v11.2.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute ’/usr/local/Cellar/node/11.2.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build—fallback-to-build—library=static_library—module=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unknown/grpc_node.node—module_name=grpc_node—module_path=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unknown—napi_version=3—node_abi_napi=napi’ (1)
CXX Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.oexec install script
../deps/grpc/src/core/lib/backoff/backoff.cc:19:10: fatal error: ‘grpc/support/port_platform.h’ file not found
#include <grpc/support/port_platform.h>
~~~~~~~~~~~~~~~
1 error generated.░⸩ ⠙ install: info lifecycle grpc@1.13.1~install: Failed to exec install script
make: * [Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command ”/usr/local/Cellar/node/11.2.0/bin/node” ”/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” “-fallback-to-build” “-library=static_library” “-module=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unknown/grpc_node.node” “-module_name=grpc_node” “-module_path=/Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc/src/node/extension_binary/node-v67-darwin-x64-unknown” “-napi_version=3” “—node_abi_napi=napi”
gyp ERR! cwd /Users/elton/Projects/vuely-v4.3.0/vuely/node_modules/grpc
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@6.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.13.1 install: `node-pre-gyp install—fallback-to-build—library=static_library` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.13.1 install 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/elton/.npm/_logs/2018-12-07T09_33_53_427Z-debug.log Eltons-MBP:vuely elton$
Eltons-MBP:vuely elton$ npm—version 6.4.1 Eltons-MBP:vuely elton$ node—version v11.2.0
Hi,
Thanks for reporting the issue, we checked it and found that the firebase version used on template is not compatible with your node js version (v11.2.0), to resolve it please follow the steps below
1. Open the package.json file and replace the package of firebase from 5.4.1 to 5.7.0. 2. Now delete the node module folder and package-lock.json file. 3. After deleting, re-install npm and run your project.
Let us know if it works for you. We will try to update the package on themeforest as soon as the modules are updated and are stable with the latest node version.
Thanks!
Many Thanks! It works perfect 
Can Vuely be used to create landing pages?
Hi! Do I need to use/have intalled PHP/Laravel in order to use this template? Or I can just use the seed to code all site only with JS and restful calls? Thanks!
Hi,
Vuely comes in two variants.
1.Vuejs version 2.Vujes _ Laravel version
You can use vuejs version to develop your app if you dont want to use php and laravel, vuely is REST api supported having inbuilt sections integrated with REST api.
Let us know if you have any other query
Thanks
Thanks! Do you have any plans to update the library versions? (vue-echarts, Vuetify…)
Preview is broken, error message: Failed to load resource: net::ERR_CONNECTION_RESET
Hi IronNetwork,
I have installed this theme, and i am using laravel + vuely. My question is, when i follow this url to customization, https://iron-network.gitbook.io/vuely/vuely-laravel/customization, i have facing problem why the page is 404, although i have executed npm run dev successfuly.
By the way, i didn’t php artisan serve due to i was running use docker (laradock). What is it the factor ?Thanks.
Hi,
To resolve this issue you just need to add this route at the bottom of your routes/web.php file. Go to the vuely-laravel -> routes directory and open web.php file.
Route::get(‘{any}’, function () { return view(‘welcome’); })->where(‘any’,’.*’);
Thanks! Let us know if it works or not.
Hi, thanks to response. After i did your instructions, it’s works. But, if i have changed the files, what is needed to execute npm run dev ? And the second, i have changed the TestPage.vue, and adding some code within it. Why in the browser can’t displayed what i have changed ?
Hi,
Each time when you changed in the project files, you need to execute npm run dev command. It will compiles the all project files and bundled into a single or chunks files. If you not execute the npm run dev command the changes will not show that you changed. As per the documentation after npm dun dev command you need to execute the command “php artisan serve”.
Thanks! Let us know if you need anything else.
Really like Vuely. How do I remove the gradient at the main view side edges?
How could I run npm i using my windows machine
Hi,
To run npm you need to install nodejs first in your machine. You can install nodejs from this link https://nodejs.org/en/download/.
Thanks! Let us know if you need anything else.
Hello I am a developer in Laravel and would like to know what is the process to login without using Auth0? Removing auth0 is the best option that you propose?
Hi, I already bought the theme before several minutes. But when I open it, I can’t access any files, and I cant find files of html or php, maybe because of vue.js while I’m not familiar with vue.js or JS expert.
Could please I want refund for my purchase, and give me your email to send u my license number and info fr my purchase
Thank u
Hello there,
I would like to integrate Vuely into my existing Laravel project. Unfortunately I don’t find much in the documentation. What exactly do I have to consider ? Can you help me with that? So far I have only worked in the backend so that the frontend is still completely on Laravel installation state.
Hi,
Please refer to the documentation link to integrate Vuely in existing laravel project.
https://iron-network.gitbook.io/vuely/faqs-frequently-asked-questions#how-to-integrate-vuely-with-laravelThanks!
Dear Support Team
I installed your theme yesterday and wanted to run unit tests with Jest. After 4 hours of configuring and testing I gave it up. Do you have any Jest unit-tests running? I would like to see an example.
Thank you in advance.
Best regards comprano
Hi,
Currently we don’t have any example with Jest for unit testing. But in the project files there are already e2e unit integrated. To get more information about how unit testing works check the vue cli 3 latest documenation https://cli.vuejs.org/config/#e2e-testing.
Thanks!
Hi there,
Thanks for the great Vuely theme! I’ve learned a lot from the way you structured the code.
One question… I changed the AuthService.js file to no longer work with Auth0 and for whatever reason I’m seeing the following error: “Uncaught TypeError: auth_AuthService__WEBPACK_IMPORTED_MODULE_1_.default is not a constructor”
On this line in /src/store/modules/auth/index.js:
import AuthService from ’../../../auth/AuthService’;
—> const auth = new AuthService();
const { getUser } = auth;
—
In scouring the net, it seems Webpack treats ES6 classes differently from standard object exports, which might be causing the error… but I have failed to figure out why.
I know this is my own changes, so I don’t expect you to support this… but if you might have any idea why this is happening, it’d really help. I’ve already spent a few hours trying to fix the error, but without any luck.
Thank you for your time!
Scott D Brooks
—
My modified AuthService.js:
```
import api from ‘Api’; import EventEmitter from ‘eventemitter3’ import Nprogress from ‘nprogress’ import router from ’../router’ import { store } from ’../store/store’;
class AuthService { }
constructor() {
this.signup = this.signup.bind(this);
this.login = this.login.bind(this);
this.logout = this.logout.bind(this);
this.resetPassword = this.resetPassword.bind(this);
this.lock = this.lock.bind(this);
this.unlock = this.unlock.bind(this);
this.setSession = this.setSession.bind(this);
this.getSession = this.getSession.bind(this);
this.getUser = this.getUser.bind(this);
this.isAuthenticated = this.isAuthenticated.bind(this);
this.authenticated = this.isAuthenticated();
this.authNotifier = new EventEmitter();
}
signup(credentials) {
// credentials = { firstName, lastName, email, password, rememberMe }
let rememberMe = credentials.rememberMe
credentials.rememberMe = undefined;
Nprogress.start();
api
.post('/Users', credentials).then(response => {
if (response.status === 200) {
response.data.rememberMe = rememberMe
this.setSession(response.data)
router.replace('/default/dashboard/ecommerce') // TODO: replace
}
})
.catch(err => {
router.replace('/')
store.dispatch('loginUserFailure', err)
})
.then(function () {
Nprogress.done();
});
}
login(credentials) {
// credentials = { email, password, rememberMe }
let rememberMe = credentials.rememberMe
credentials.rememberMe = undefined;
Nprogress.start();
api
.post('/Users/login', credentials).then(response => {
if (response.status === 200) {
response.data.rememberMe = rememberMe
this.setSession(response.data)
router.replace('/default/dashboard/ecommerce') // TODO: replace
}
})
.catch(err => {
router.replace('/')
store.dispatch('loginUserFailure', err)
})
.then(function () {
Nprogress.done();
});
}
logout() {
store.dispatch('logoutUserSuccess')
// Clear access token and ID token from local storage
let user = this.getSession()
if (user.rememberMe) // save just the e-mail in localStorage
localStorage.setItem('user', JSON.stringify({
email: user.rememberMe
}))
else
localStorage.removeItem('user')
}
this.authNotifier.emit('authChange', false)
// navigate to the home route
router.push('/session/login')
resetPassword(credentials) {
// credentials = { oldPassword, newPassword }
credentials.email = this.getSession().email; // add in e-mail address
Nprogress.start();
api
.post('/Users/reset', credentials).then(response => {
if (response.status === 200) {
this.setSession(response.data)
router.replace('/default/dashboard/ecommerce') // TODO: replace
store.dispatch('resetUserPasswordSuccess')
}
})
.catch(err => {
router.replace('/')
store.dispatch('resetUserPasswordFailure', err)
})
.then(function () {
Nprogress.done();
});
}
setSession(authResult) {
// Set the time that the access token will expire at
let expiresAt = authResult.ttl * 1000 + new Date().getTime()
let token = authResult.id
let userId = authResult.userId
let firstName = authResult.firstName
let lastName = authResult.lastName
let email = authResult.email
let role = authResult.role
let rememberMe = authResult.rememberMe
let user = { expiresAt, token, userId, firstName, lastName, email, role, rememberMe }
localStorage.setItem('user', JSON.stringify(user))
this.authNotifier.emit('authChange', { authenticated: true })
store.dispatch('loginUserSuccess', user)
}
getSession() {
return JSON.parse(localStorage.getItem('user'))
}
// TODO: When does it get used?
lock() {
store.dispatch('lockUser')
this.authNotifier.emit('authChange', false) // TODO: should we signal lock?
}
unlock(credentials) {
credentials.email = this.getSession().email; // add in e-mail address
this.login(credentials);
this.authNotifier.emit('authChange', true)
}
isAuthenticated() {
// Check whether the current time is past the
// access token's expiry time
let expiresAt = this.getSession() && this.getSession().expiresAt || 0
return new Date().getTime() < expiresAt
}
getUser() {
return this.getSession() || null
}
export default AuthService;
```
Hi there,
Thanks for the purchase, glad you like the template.
We will try to work on it, For now you can resolve this issue by using the given below of steps:-
1. Create a AuthService class object when it is required.
https://tinyurl.com/y72h3ogm2. Use the variable where it required.
Thanks! Let us know if it works for you or not. You can also reach us directly at support@theironnetwork.org for support or custom project.
Thanks!
Thanks IronNetwork. The issue isn’t with Vue files, but when I import the AuthService into a JS file, like store.js.
Drop the following code into: /src/store/modules/auth/index.js
import AuthService from ”../../../auth/AuthService”; const auth = new AuthService(); const { login, logout, authenticated, authNotifier } = auth;
And you’ll see the error:
Uncaught TypeError: auth_AuthService__WEBPACK_IMPORTED_MODULE_1_.default is not a constructor
This turned out to be due to a circular dependency… The store imported the AuthService and the AuthService imported the store… Ack… unhelpful error message.
Thanks for your help.
Hi, Thanks for your nice template, it is easy to manage!
I’d have one little clue. It would be nice, if you could add ESLint to your project. By running lint on the vuely-seed I got over 3000 errors. They are only some cosmetic errors (tabs, semicolons, ==, ...). It would make your coding style even better and more consistent.
Thanks, we will include it in our next update. Thanks!
Hello,
in the sidebar, every item on the top level is a container of subitems. Is it possible to replace a container with a single item?
Example: Currently the item ‘Dashboard’ is a group of sub-dashboards. Instead of a group of dashboards I would like to have a single item ‘Dashboard’ – when clicked it redirects to the mainpage
Hi,
Yes it is possible, please follow the given below instructions:-
- Go to the src -> store -> modules -> sidebar directory and open data.js file.
- Set the items variable as null. e.g., follow the screenshot https://tinyurl.com/y9759a5e
Thanks! Let us know if you need anything else.
Hi Really cool template and so far love it There is a css bug in your page on callback from auth0 To reproduce it go to your login page Click auth0 login Once you login you will see the loading square(the rotating green one) is at the top of the page instead of center Cheers
Also another question. Is it possible to show a pop in this template? or do we have to implement it ourselves?
Hi,
To show the pop up in the template you can use Vuetify dialog component that we have already give in the template. You can check those dialogs at this url http://vuely.theironnetwork.org/default/ui-elements/dialog.
Thanks!
What about the bug I mentioned in the first comment? There is a css bug in your page on callback from auth0. To reproduce it go to your login page. Click auth0 login. Once you login you will see the loading square(the rotating green one) is at the top of the page instead of center
Hi,
You can resolve this by adding the given below styles into the _common.scss file, which is under the src -> assets -> scss -> custom directory.
.spinner{ position:absolute !important; top:0 !important; bottom:0 !important; left:0 !important; right:0 !important; margin: auto !important; }
You can also check the screenshot https://tinyurl.com/yd7thv9h
Thanks! Let us know if it works for you or not.
Works perfect! Thanks
Hello.
I’m sorry, this is not what I was looking for.
I expected to see a set of files ”.blade.php”. I don’t need Vue routing and SPA.
Can you get me a refund?
Hello, I’m trying to test my local lavarel based service, I have an API endpoint that looks like this: http://apiservice.local and I can reach it by browser and I can call the API with postman.
However, when I try to use axios I receive a 405 (Method Not Allowed) from Vuely client. It’s a simple post method that calls api/register on the backend service.
Let me know if you need any further information. Kr, Sergio
Hi,
We have checked at our end and it’s working with api. We don’t receive any 405 (Method Not Allowed) from our template. Please share us your project files along with the working example of api. You can reach us directly at the support@theironnetwork.org.
Thanks!
Really great and clean Template and very easy to configure!
I highly recommend it! The best vue/laravel template so far.
Thanks. Glad you like it.
He there. Firstly, a wonderful first impression of this theme and of vue in general, thank you. I am fairly new to vue so will be using this to explore syntax and usage too.
I intend to use this theme as a basis for front-end content as well, not just behind admin login. I wondered if there was pages/examples I missed inside the demos that I could use of non-authed pages (homepage, listing pages, search results etc) . I see a boolean in the code but not sure how to control this (based on the fact the page should be visible to both unlogged and logged in users.
thx
Hi there,
Glad you like the template. We have already given a control for each route or page to control authentication of the page. To use this control you can enable / disable authentication on your particular page or route. You can check this option in the router files. You can check the screenshot.
https://tinyurl.com/ycza2akjIn the screenshot we have disable the authentication on /default/widgets/user-widgets route, which means if you want to access this page there is no need for authentication or login. The route is declared as public.
Hope the above instructions will help you.
Thanks! Let us know if you need anything else.
thank you for the swift reply. Yeah, that is the same boolean I found & I assume as it’s not required, both can use it. I wanted to check it wasn’t an either/or.
I also assume we can we do the same access around particular widgets contained on the page.. so a logged in user would see user specific panels and a non-logged in would see different widgets.
Again sorry if they are obvious questions, I’m coming from an angular BG and I’m just getting stuck into the documentation provided with the admin.
Thx!
Hi,
Yes you can add the same control on the widgets or panel. The given below instructions will help you to add control on the user specific widget or panel.
1. Create a permission file in which the all panels and widgets permission will go. This permission file handle only for authentication. This permissions will control which widget will show or not show after the login wi e.g.,
https://tinyurl.com/ybzc76bq2. After creating a permission file, you need to add the visibility condition on each widget for control the visibility of the widget. e.g.,
https://tinyurl.com/ybso9gelIn case of user specific widgets or permission you need to make a UserPermission api on the backend side. The file will loads when app is loaded and after user logged in the app. Each user will have own permissions. On the basis of these permission do the same steps as same in the case of Authentication permissions.
Hope these instructions will help you.
Thanks!
hello, I want to know if vuely there are tools to work roles and permissions using vue-router in laravel?
hello, I want to know if vuely there are tools to work roles and permissions using vue-router in laravel?
Hi,
You can use this https://www.npmjs.com/package/vue-router-user-roles plugin to add roles and permission for vue-router.
Thanks!