0.7.10 • Published 3 years ago
cuvant v0.7.10
Cuvant
A Vue.js Plugin for mobile UI that works with Vant UI
Installation
npm install --save cuvant
Usage
Bundler (Webpack, Rollup)
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
import Vant from 'vant'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'vant/lib/index.css'
import Cuvant from 'cuvant'
import 'cuvant/dist/cuvant.css'
app.use(Vant)
app.use(Cuvant)
app.mount('#app')
Browser
<!-- Include after Vue -->
<!-- Local files -->
<link rel="stylesheet" href="cuvant/dist/cuvant.css"></link>
<script src="cuvant/dist/cuvant.umd.js"></script>
<!-- From CDN -->
<link rel="stylesheet" href="https://unpkg.com/cuvant/dist/cuvant.css"></link>
<script src="https://unpkg.com/cuvant"></script>
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Publishing
The prepublish
hook will ensure dist files are created before publishing. This
way you don't need to commit them in your repository.
# Bump the version first
npm version patch
# Build the bundle
npm run build-bundle
# Ship it 🚀
npm publish
License
Customize configuration
0.7.10
3 years ago
0.7.9
3 years ago
0.7.6
3 years ago
0.7.5
3 years ago
0.7.7
3 years ago
0.7.2
3 years ago
0.7.1
3 years ago
0.7.4
3 years ago
0.7.3
3 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
1.0.4
5 years ago
1.0.2
5 years ago
1.0.0
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
6 years ago