vuejs AdminLTE
1.0.0
[Admin LTE] (https://almsaeedstudio.com/preview) [Vue JS] 스타터 (http://vuejs.org/)
# 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
작동 방식에 대한 자세한 설명을 보려면 vue-loader에 대한 가이드와 문서를 확인하세요.
구성 요소 폴더에 파일 만들기
# user.vue
< template >
< h3 > User Lists </ h3 >
</ template >
< style >
// style here
</ style >
< script >
// script here
</ script >
src/app.js 에 경로 구성 요소 등록
router.map({
'/user': {
component: require('./components/user.vue')
}
});
config/menus.js를 열고 json 데이터를 수정합니다.
{
name: 'Dashboard',
link: '/',
icon: 'fa-home',
child: [{
name: 'Child Dashboard',
link: '/child',
icon: 'fa-circle-o',
}
]
// child is optional
}