• Stars
    star
    308
  • Rank 135,712 (Top 3 %)
  • Language
    JavaScript
  • Created about 9 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Admin LTE Starter for Vue JS

vuejs-AdminLTE

[Admin LTE] (https://almsaeedstudio.com/preview) Starter for [Vue JS] (http://vuejs.org/)

Installation

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Usage

Create Page

  • Create file in components folder

    # user.vue
    <template>
      <h3>User Lists</h3>
    </template>
    
    <style>
      // style here
    </style>
    
    <script>
      // script here
    </script>
  • Register route component in src/app.js

    router.map({
      '/user': {
        component: require('./components/user.vue')
      }
    });

Add Menu

Open config/menus.js, and modify json data.

{
  name: 'Dashboard',
  link: '/',
  icon: 'fa-home',
  child: [{
    name: 'Child Dashboard',
    link: '/child',
    icon: 'fa-circle-o',
    }
  ] 
  // child is optional
}
Buy Me A Coffee