Discussion on Gogo - Nextjs React Admin Dashboard (React 19)

Discussion on Gogo - Nextjs React Admin Dashboard (React 19)

Cart 2,059 sales
Recently Updated
Well Documented

ColoredStrategies supports this item

Supported

This author's response time can be up to 5 business days.

341 comments found.

Hello,

I am having issues with the menu section. So I will be using permissions instead of roles for access control which means one can have more permissions at one given time.

I changed the currentUser object to mimic this and made it look like this

export const currentUser = { id: 1, title: 'Sarah Kortney', img: '/assets/img/profiles/l-1.jpg', date: 'Last seen today 15:24', roles: ['admin', 'editor'] }

of course, this is the user that is getting saved to local storage.

Please guide me on how to adjust this method

//For UserRole filteredMenuItems(menuItems) { return menuItems ? menuItems.filter( (x) => !x.roles || (x.roles && x.roles.includes(this.currentUser.role)) ) : []; },

and also how to change the menu.js roles array accordingly This part:

//... label: "menu.start", to: `${adminRoot}/piaf/start`, roles: [UserRole.Admin, UserRole.Editor], //this

Hi,

First of all, it is assumed that the user role is unique in the current system. This is the source of the problem. Therefore, when comparing user roles with the roles of the page to be displayed in the menu, the problem will be solved if you make the following change.

.....

This line

!x.roles || (x.roles && x.roles.includes(this.currentUser.role))

It should be like the one below

!x.roles || (x.roles.some(r => this.currentUser.role.includes®))

All the best.

Thank you so much. That gave me a headache.

Hi, when I build the project the routes are broken and only index page is working other page routes are not working.

Hi,

I’m sorry for the confusion. I guess you are having problems when you refresh the page after publishing. To fix this problem, you need to adjust on the server side. The guide below will assist you.

https://piaf-vue-docs.coloredstrategies.com/docs/gettingstarted/production

All the best.

I did go through the above link. It didn’t help. Steps.

When I serve locally the dashboard is working as expected. But when I build and then serve the Dist folder only index route is working. Rest sub routes are not working.

I don’t understand the rewrite urls thing mentioned in the doc. How to adjust on the server side.

It would be great if you could link me to an example.

Hi,

Below you can find url rewrite configurations for many types of servers.

https://cli.vuejs.org/guide/deployment.html#general-guidelines

All the best.

So, a few days ago I bought the JQuery version of this template, at first I didn’t want the complex front-end routing and state management, I just wanted the interface, now I have realized I will need the full VueJS SPA. Is there a way I can trade it in or at least get this version less the price I paid for the HTML version since it’s already included in this version?

PS: You’re free to ask for my purchase details from Envato market to verify the purchase!

Hi,

You can be sure that when you create a refund request we will approve it.

All the best.

Alright. And where do I create one of those? :-)

I just purchased your vue admin template. Can you point me to installation documentation? I’ve read your documents and their is nothing on installation. Do I create my project first then try to copy in pieces as I go. Or do you have an npm install or vue-cli installation method?

My apologies. I thought I had to build the project first then somehow move it into the project. Wow, very simple. I have it up and running.

Hi,

Thank you for your interest.

All the best.

How to add validation and b-form-invalid-feedback to v-select and datepicker?

The Piaf – Vue Admin Template not working for me! after reading the documentation i’ve tried to run it i got a some errors and that came from more than 80 missing files I wish you resolving this quickly as possible because that’s slowing down my work. Best

Hi,

What is node version you are using?

All the best.

Hi, I dont think this is related to the node version. Please check the files included and consider resending. Thank you

Hi,

I have checked different situations for you many times, but there is no problem in the project.

In addition, the screen image you sent does not open.

All the best.

Hi, this template came with a landing page that is now missing on the latest updates. How can I have it? Do you send it directly?

Hi,

Landing pages have been removed from the project in accordance with the envato rules. Only the Demo index page remains. Unfortunately, we do not have the opportunity to access the old pages you mentioned.

All the best.

hello and thanks for your product. I has finished my first project phase and I want to build the project for production. but when I built the project and clicked on the index.html in dist folder i see 404 page. and all routes get this error. I should mention that I don’t use firebase and I deleted the references. can you help me? please.

Hi. Couple of questions:

A. In your calander, it looks very basic. How can we add details in there? Example if there is an appointment. So we can show some info in the timeslot.

B. In terms of tables, if it possible to do expand row. So, when you click, you can expand and see extra details

C. How would you put extra filters on top of tables. So, that you can filter on various drop downs, etc

Hi,

Unfortunately, we cannot provide support for the use of third party plugins. As shown in the demo, we only do the frontend view.

We hope the links below will help you.

https://vcalendar.io/ https://www.vuetable.com/

All the best.

Hi there,

I have just purchased the Piaf theme.

What do I need to do in order to apply the theme in my existing Vue.js app?

Looking forward to hear from you!

Kind regards, Elias

Hi,

Unfortunately, I cannot share a list of guidelines because we do not know your current project.

The lifecycle of the project can be found in the link below. I think it will help you.

https://piaf-vue-docs.coloredstrategies.com/docs/codebase/lifecycle

As a side note, support is available for Theme Forest purchased accounts only.

All the best.

Hello, I love your template I downloaded it and started using it with my envato elements subscription.

I have a problem with translations. After I build the project and I deploy the translations are missing, it always shows the translation key.

Locally using npm run serve it just works fine.

Thank you for your kind support.

Hi,

There is no problem in the demo version of Piaf. Could you have made a mistake somewhere?

As a side note, support is available for Theme Forest purchased accounts only.

All the best.

Hello and thank you for your kind response, I really appreciate it.

I just realized it was a case sensitive issue on the fallback language value.

Have a great 2021!

Hi,

Thank you for your feedback. We have not encountered this situation before, but keep in mind for a possible situation. We are grateful to share the solution with us.

All the best.

Hi, I would like to change the navbar logo from SVG to PNG. It’s possible?

And, How I change the favicon?

Hi,

Of course it is possible to change physical files. After including your new favicon and logo in the project; It will be sufficient to update the paths in the components that use the old files.

All the best.

Dear piaf-vue author,

Thank you very much for this incredible application.

I am currently using the Vue.js version and is currently blocked while trying to display the detail of a survey card item.

I identified the line of code necessary to display the correct card detail : In SurveyDetail.vue :

isLoadSurveys(val) { if (val === true) { this.currentSurvey = this.surveyItems0; } }

The idea would be to replace 0 by the index of the selected card.

After several hours, I could not succeed to get the index of the selected card.

Could you please indicate how to retrieve this in a variable please?

Thank you very much.

Kind regards

Hi,

First of all, thank you for your kind notice.

If we come to the subject of survey. It does not seem correct to process on SelectedCard’s index. Instead, it would be more accurate to work with the id property of the selected card. Other methods can be developed, but if there is one point I am sure about, it is that the method we applied is not correct.

Unfortunately, while we were making that page; We planned to be able to show all the items in design rather than running all functions. Therefore, it is very normal to have problems like you wrote.

All the best.

Do you have or plan to release a Vue version 3 of this template?

Hi,

We are working on another projects and currently don’t have a certain roadmap for Piaf.

All the best.

nice product. I want to purchase it. Do you have sass structure or css? Are the divided per folders like variables, base, mixins…?

Hi,

It is separated into mixins, variables and plugins, but since we plan to work on a single scss file at the beginning, there is no detailed parsing except these separations.

All the best.

Hi Piaf Vue Team I’d like to ask your help about your template.

We use CKEditor (Table Plugin and Paste From Office) and implement it to Piaf. But when we do copy and paste table from MS Office Word to CK Editor, the color of the border its not diplayed properly. The border color always in light grey. Do you have sample code for Piaf using CKEditor with ( Table Plugin and Paste From Office Plugins) ?

Thanks in Advance

Hi,

Unfortunately, we have no experience of using CKEditor. We are sorry we could not help you.

All the best.

So, do you have any suggestion. What kind WYSIWYG editor should we used that doesn’t have any issue with Piaf Vue?

Hi,

I do not think that the problem you mentioned is related to piaf. If the problem is solely related to table borders, maybe it can be fixed with css manipulations.

I’m sorry for not being able to help. When using the WYSIWYG editor, copying with styles is always a problem.

All the best.

Hi,

I have a trouble with Piaf in Firefox/Safari I did not see the datepicker but in Chrome it render ok, why is that ?

regards Etienne.-

code below
<template>
  <b-row>
    <b-colxx xxs="12">
      <b-card class="mb-4" :title="$t('Crear Reserva')">
        <b-form>
          <label class="form-group has-top-label">
            <input
              type="text" 
              class="form-control" 
              v-model="topLabelsInInputForm.patente" 
            />
            <span>Patente</span>
          </label>
          <label class="form-group has-top-label">
            <input type="text" class="form-control" v-model="laprueba" />
            <span>Vuelo de ida</span>
          </label>

          <label class="form-group has-top-label">
            <datepicker
              :bootstrap-styling="true" 
              :placeholder="$t('form-components.date')" 
              v-model="topLabelsInInputForm.fechavueloida" 
            ></datepicker>
            <span>Fecha de vuelo</span>
          </label>
          <label class="form-group has-top-label">
            <input
              type="text" 
              class="form-control" 
              v-model="topLabelsInInputForm.vueloregreso" 
            />
            <span>Vuelo de regreso</span>
          </label>
          <div class="form-group has-top-label">
            <datepicker
              :bootstrap-styling="true" 
              :placeholder="$t('form-components.date')" 
              v-model="topLabelsInInputForm.fechavueloregreso" 
            ></datepicker>
            <span>Fecha de regreso</span>
          </div>
          <div class="form-group has-top-label">
            <datepicker
              :bootstrap-styling="true" 
              :placeholder="$t('form-components.date')" 
              v-model="topLabelsInInputForm.fechaingreso" 
            ></datepicker>
            <span>Fecha de Ingreso</span>
          </div>
          <div class="form-group has-top-label">
            <datepicker
              :bootstrap-styling="true" 
              :placeholder="$t('form-components.date')" 
              v-model="topLabelsInInputForm.fechasalida" 
            ></datepicker>
            <span>Fecha de Salida</span>
          </div>

          <b-button type="submit" variant="primary" class="mt-4">CONTINUAR-button
          >
        -form>
      -card>
    -colxx>
  -row>
</template>
<script>
import vSelect from "vue-select";
import "vue-select/dist/vue-select.css";
import Datepicker from "vuejs-datepicker";
import InputTag from "../../components/Form/InputTag";
import { getDirection } from "../../utils";
import { mapGetters, mapActions } from "vuex";

export default {
  components: {
    "input-tag": InputTag,
    "v-select": vSelect,
    datepicker: Datepicker,
  },
  data() {
    return {
      direction: getDirection().direction,
      selectData: [
        { label: "Chocolate", value: "chocolate" },
        { label: "Vanilla", value: "vanilla" },
        { label: "Strawberry", value: "strawberry" },
        { label: "Caramel", value: "caramel" },
        { label: "Cookies and Cream", value: "cookiescream" },
        { label: "Peppermint", value: "peppermint" },
      ],

      topLabelsInInputForm: {
        patente: "",
        vueloida: "",
        fechavueloida: null,
        vueloregreso: "",
        fechavueloregreso: null,
        fechaingreso: null,
        fechasalida: null,

        razonsocial: "",
        rut: "",
        calle: "",
        giro: "",
        numerocasa: "",
        region: "",
        comuna: "",
        email: "",
        password: "",
        tags: [],
        date: null,
        select: "",
        checked: false,
      },
    };
  },

  computed: {
    ...mapGetters([
      "currentUser",
      "processing",
      "loginError",
      "token",
      "prueba1",
    ]),
    laprueba(topLabelsInInputForm) {
      return (topLabelsInInputForm.vueloida = this.token);
    },
    //return this.tarea.nombre.trim() === "" ? true : false
  },

  methods: {
    onTopLabelsInInputFormSubmit() {
      localStorage.patente = this.topLabelsInInputForm.patente;
      this.$router.push("reserva2");
      //console.log(JSON.stringify(this.topLabelsInInputForm));
    },
  },

  created() {
    //this.info = "Componente cargado";
    console.log("Creado..componente: ");
    //console.log('Valor de token: ',this.token)
  },
};
</script>
</b-button></b-form></b-card></b-colxx></b-row>

Hi,

Can you try assigning ‘new Date ()’ to variables by default?

..
..
      fechavueloida: new Date (),
      fechavueloregreso: new Date (),
      fechaingreso: new Date (),
      fechasalida: new Date (),
..
..

All the best.

Hello There, I have bought Piaf template about a month ago and I didn’t use it since now. today when I wanted to start applying some changes I faced an issue which was the framework used in the template . I don’t know why but somehow I purchased The Vue version while I wanted the React one. Is it possible for you to disable my current vue Licence and send me the react version ? I really need it for my project , now I feel awful for my wrong purchase and I can’t use what I have bought.

Hi,

After purchasing the react version, you can create a refund request for the vue version. We want to help.

https://themeforest.net/item/gogo-react-bootstrap-4-admin-dashboard/22544383

All the best.

thank you for your response. actually im a little newbie in this field , can you change the product for me or tell me how to make a refund request or give me some more guide ?

hi,

After you get the react version, you can request a refund for the vue version using the link below.

https://themeforest.net/refund_requests/new

All the best.

Hi ~

I excited to work on this Piaf template. But I have some trouble on handling GlideComponent with right-modal. I also checked sample vue page. copy this sample and paste into modal. but also not work. Images are not showing. is this may css problem? How can I handle this?

thank you.

Hi,

While copying the glideComponent into the right modal, you imported the GlideComponent? You should also define its options.

When you do these two operations, it will work well. You can check your Console to make sure it’s not failing.

All the best.

Hello

Having trouble getting a component to show in the sub-menu sidebar I’m including it correctly as I can move it outside of the

<vue-perfect-scrollbar>

sections and the component shows fine. The component works fine as it shows on the single/index

My first thoughts were z-index / CSS conflict but it seems not to be the case.

Any help would be appreciated.

Hi,

I can’t think of anything at the javascript side that removes or hides things but if your item is an ul tag that might be the problem. Check the css of the item from dev panel and overriding if necessary should solve the issue.

Here is an example: <ul> <li>This will be hidden</li> </ul> <ul class="d-block"> <li>This will be visible</li> </ul>

Hi ColoredStrategies

It is indeed using the ul / li tags adding the class d-block shows the component.

Thank you for your support

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey