vue-template

1.0.3 • Public • Published

vue-template

https://github.com/vuejs/vue-cli 下的 webpack 模板改编而成,更加符合自己 vue.js 开发的脚手架。

修改的地方

安装了 less less-loader 在 vue 模板里

$npm install --save-dev less less-loader

config/index.js 下的 build 的属性 assetsPublicPath 改为 './' ,执行 npm run build 以后 html 文件引用的 cssjs 文件是相对路径,可以在 file:// 下运行


src/ 下的文件以及 index.hmtl 都进行了一定的删减,更加轻便。

使用方法

# install vue-template
npm install vue-template or bower install vue-template(and copy files from node_modules or bower_components to your project)

or

git clone https://github.com/bear-front-end/vue-template.git(this repository)

# install dependencies
npm install

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

# build for production with minification
npm run build

Readme

Keywords

none

Package Sidebar

Install

npm i vue-template

Weekly Downloads

173

Version

1.0.3

License

none

Last publish

Collaborators

  • sysutangzxcody