npm install
npm run serve
npm run build
npm run lint
vue add vuetify
npm install dayjs --save
npm install easy-typer-js --save
npm install [email protected] [email protected] -save
vue2只能使用vuex3版本
npm i vuex@3
npm install vuex-persistedstate --save
npm install axios -save
npm install vue-axios -save
中文文档
npm install markdown-it --save
npm install highlight.js
npm install clipboard --save
https://github.com/tscanlin/tocbot
npm i tocbot
npm install vue-image-swipe
npm install vue-social-share
npm install vue-infinite-loading --save
npm install nprogress --save
npm install vue-baberrage --save
npm install node-polyfill-webpack-plugin
改前
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: [
'vuetify'
]
})
改后
const { defineConfig } = require('@vue/cli-service')
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
module.exports = defineConfig({
configureWebpack: {
plugins: [new NodePolyfillPlugin()],
},
transpileDependencies: [
'vuetify'
]
})
npm i vue-cute-timeline
或
yarn add vue-cute-timeline
不指定版本可能会报错
npm install [email protected]