Coder Social home page Coder Social logo

justboil / admin-one-vue-tailwind Goto Github PK

View Code? Open in Web Editor NEW
2.2K 2.2K 406.0 20.44 MB

Free Vue.js 3.x Tailwind 3.x admin dashboard template with dark mode. Vite builds. Pinia state. Laravel integration available

Home Page: https://justboil.github.io/admin-one-vue-tailwind/

License: MIT License

JavaScript 10.19% HTML 1.31% Vue 85.12% CSS 3.38%
dashboard tailwind tailwind-css tailwind-css-template tailwindcss vite vite-template vitejs vitejs-template vue vuejs vuejs3

admin-one-vue-tailwind's People

Contributors

mahmoud-eskandari avatar molayli avatar nisshan avatar vikdiesel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

admin-one-vue-tailwind's Issues

Disable JbButton

I am trying to disable a button created by the JbButton using the disabled attribute component but it's not working.

Fix the vulnerabilities.

Upgrade the package.json to resolve vulnerabilities.

Currently there is 70 vulnerabilities:

120 packages are looking for funding
  run `npm fund` for details

70 vulnerabilities (57 moderate, 13 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

Ran npm audit fix and npm audit fix --force doesn't fix those vulnerabilities.

Changing @vue/cli-service": "^4.5.13 version in package.json , getting bellow error when running npm run install

npm run serve

[email protected] serve C:\Users\NarayanaReddyAnnapur\git\Digi\digihome-ui
vue-cli-service serve

INFO Starting development server...
WARN A new version of sass-loader is available. Please upgrade for best experience.
98% after emitting CopyPlugin

ERROR Failed to compile with 1 error 7:11:19 PM
error in ./src/css/main.css

Syntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users

@ ./src/css/main.css 4:14-162 15:3-20:5 16:22-170
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.6:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

Could you please help on this issue , thank you in Advance.
1

Suggestion: Make use of .env for configuration

First of all, thank you for an awesome template. It would be nice if we could make use of .env files for some configurations such as default document title etc. All that is need to do is make sure they are saved as VITE_ in a .env file as per documenation

Adding animation on dropdown

Hello first this is really great project and i want to help it to be more great do you think i can add simple animation for dropdown ?

Maximum call stack size exceeded

jb-button without href or routeName it throws stack size exceeded error. Please help
i want
<jb-button
label="Save"
type="submit"
color="danger"

The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.0.0"

$ yarn
yarn install v1.22.18
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
error @achrinza/[email protected]: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.0.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

How to install with Laravel Inertia Stack??

Hi, I'm sry if this is a noob question.

I've just got into the Laravel Inertia Stack.
I'm trying to create a template which I can use in my future projects.

  • I created a new project with laravel 9. I installed Laravel Breeze with vue option.
  • I then made an admin side, using laravel breeze templates and have made sure all the functionalities (Login/Logout, forget password, etc) are working.
  • The structure is
  • ~/resources/js/Pages/Backend/ contains all the backend pages
  • ~/resources/js/Pages/Frontend/ contains all the frontend pages
  • ~/resources/js/Pages/Components/ contains all the individual components

I want to install the admin-one dashboard into my project now. Can someone please help?

no content in dashboard

After I follow the laravel guide, it work with the login page, register page. But after the registration, nothing shows up in the /dashboard, and no errors, no logs.

Missing module "@tailwindcss/line-clamp" in Laravel integration

When following the Laravel 9 integration guide, you get this error:

Cannot find module '@tailwindcss/line-clamp'

Require stack:

  • /home/tommaso/Progetti/Www/app.mezzanato.it/www/tailwind.config.js
  • /home/tommaso/Progetti/Www/app.mezzanato.it/www/node_modules/tailwindcss/lib/lib/setupTrackingContext.js
  • /home/tommaso/Progetti/Www/app.mezzanato.it/www/node_modules/tailwindcss/lib/index.js
  • /home/tommaso/Progetti/Www/app.mezzanato.it/www/postcss.config.js
    Plugin: vite:css
    File: /home/tommaso/Progetti/Www/app.mezzanato.it/www/resources/css/main.css
    at Module._resolveFilename (node:internal/modules/cjs/loader:955:15)
    at Module._load (node:internal/modules/cjs/loader:803:27)
    at Module.require (node:internal/modules/cjs/loader:1021:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object. (/home/tommaso/Progetti/Www/app.mezzanato.it/www/tailwind.config.js:82:9)
    at Module._compile (node:internal/modules/cjs/loader:1119:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:997:32)
    at Module._load (node:internal/modules/cjs/loader:838:12)
    at Module.require (node:internal/modules/cjs/loader:1021:19)

The solution is install module via npm:

npm install @tailwindcss/line-clamp --save-dev

Loader

Is there any loader for wait in this

in laravel 10 integration, the colors are not displayed.

image

when I want to integrate it with laravel 10, I follow all the steps and at the end many of the colors are not rendered.

I thought it could be tailwind so I updated all the npm packages but it keeps happening.

when i use tailwind outside of the normal template the colors work.

can anyone help me?

How to fix this issue - stats.children: true

After running command - npm run dev, i got this warning alert below:

3 WARNINGS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 3 warnings

Any fix to this issue?

There is no file store/layout.js

// Add layout store
import { useLayoutStore } from "@/Stores/layout.js";

I can't find the store/layout.js file. is there a file reference?

White page on mobile device

I have insatlled this package inside a laravel app and it's works fine but when I tried to open my app on mobile I have a total white page !

ReferenceError: RouterLink is not defined in NavBarItem.vue in Laravel integration

When following the Laravel 9 integration guide, you get this error:

Uncaught (in promise) ReferenceError: RouterLink is not defined
at ReactiveEffect.fn (NavBarItem.vue:26:5)
at ReactiveEffect.run (reactivity.esm-bundler.js:185:25)
at get value [as value] (reactivity.esm-bundler.js:1147:39)
at unref (reactivity.esm-bundler.js:1053:29)
at Object.get (reactivity.esm-bundler.js:1056:37)
at Proxy._sfc_render (NavBarItem.vue:97:10)
at renderComponentRoot (runtime-core.esm-bundler.js:888:44)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5600:57)
at ReactiveEffect.run (reactivity.esm-bundler.js:185:25)
at instance.update (runtime-core.esm-bundler.js:5714:56)

The solution is change line 26 of "resources/js/Components/NavBarItem.vue" replacing "RouterLink" component from vue-router module with "Link" component form inertia-vue3 module.

resources/js/Components/NavBarItem.vue
26 - return RouterLink;
26 + return Link;

Style inconsistency with Laravel guide

When I follow this step in the Laravel guide I end up with an inconsistent style from demo.

image

To fix it, I keep the existing style

<component
      :is="item.route ? Link : 'a'"
      :href="itemHref"
      :target="item.target ?? null"
      class="flex cursor-pointer"
      :class="componentClass" <<<--- needs to stay like this not ':class="activeInactiveStyle"' as in the guide
      @click="menuClick"
    >

image

Preserve dark mode setting is not working properly

Currently, the "preserve dark mode" setting is not working properly, even by uncommenting the required lines in main.js and darkMode.js
The reason is that the value used to set the darkMode key in darkMode.js::localStorage.setItem() should be this.isEnabled ? '1' : '0' instead of this.darkMode ? '1' : '0'.
Indeed, the darkMode ref does not exist.

// You can persist dark mode setting
// if (typeof localStorage !== 'undefined') {
// localStorage.setItem('darkMode', this.darkMode ? '1' : '0')
// }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.