Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

template repo of uim-vue

License

NotificationsYou must be signed in to change notification settings

SSPanel-UIM/uim-vue

Repository files navigation

如果没安装过nodejs,在机器上安装nodejs

debian/ubuntugithub地址 https://github.com/nodesource/distributions/blob/master/README.mdcurl -sL https://deb.nodesource.com/setup_10.x | bash -apt-get install -y nodejs查看是否安装以及版本node -v npm -vcentos自己想办法

以下命令需在本目录运行而不是网站根目录

Project setup

如果你是新下载的网站程序并且刚装完nodejs,那么运行以下命令npm install并且每次更新index时都需要先运行一次这个命令

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build此命令构建index页面,会在public/vuedist目录生成对应的index.html、css、js文件将index.html改名为 index.tpl,移动到resourse/views/material 目录下:cp -u ../public/vuedist/index.html ../resources/views/material/index.tpl当前目录下一键运行以上两个命令脚本./createIndexTpl.sh首次运行需要获取权限chmod +x *.sh

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

SeeConfiguration Reference.

如果需要开发插件

main.js 为入口文件router.js 路由管理store.js 状态管理主文件App.vue 根容器各个文件夹内容:views 页面文件,请把定义好的路由相对应的路由组件放在这里stores 子状态管理,请把store.js中定义的modules放在这里mixins 组件间共用的属性文件(data/methods/生命周期函数等)请放在这里js 项目中引用的js静态资源放在这里directives 自定义指令目录css 项目中引用的css静态资源放在这里components 组件目录,包括页面中某个部分的组件和全局组件assets 存放图片等其他资源

About

template repo of uim-vue

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp