0.1.0 • Published 6 months ago
h-file-preview v0.1.0
file-preview
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
git相关
- git init 初始化gitxiangm
- git checkout -b master 新建一个master分支
- git add . 本地暂存区
- git commit -m "xxx" git 本地提交
- git remote add origin 项目地址
- git remote -v 检查是否连接成功
- git push -u origin master 提交到远程master分支上
插件的安装
引入插件
- npm i xxx
基本用法
- import Vue from 'vue';
- import xx from 'xx';
- Vue.use(xx);