1.0.5 • Published 3 years ago
k-view-next v1.0.5
[toc]
K-View-Next
Quick Start
Installation
npm i -S k-view-nextFully import
import KView from 'k-view-next'
import 'k-view-next/lib/style'
export default (app) => {
app.use(KView)
return app
}Import on Demand
k-view-nextsupports tree shaking of ES modules, so using import { Button } from 'k-view-next'; would drop js code you didn't use.
- we can import individual components on demand:
import Button from 'k-view-next/lib/button'
import 'k-view-next/lib/button/style'- We strongly recommend using babel-plugin-import, which can convert the following code to the 'k-view-next/lib/xxx' way:
import { Button } from 'k-view-next'Scripts
dev
Component development and debugging
# Debug button component
yarn dev ./components/buttondocs
Documentation site preview
yarn docscompile
Component compilation
yarn compilegen
Script to quickly create component code
yarn gensite preview
%{width=1000}%
%{width=1000}%
Important
The link anchor jump will be abnormal on the github io page. For private deployment, please modify the configuration items in .env.production.
# PUBLIC_PATH='./'
# VUE_APP_MODE='UMD_PREVIEW'
PUBLIC_PATH='/'
VUE_APP_MODE='CMD_PREVIEW'1.0.5
3 years ago
1.0.4-alpha.1
4 years ago
1.0.3-alpha.7
4 years ago
1.0.4-alpha.0
4 years ago
1.0.4-alpha.3
4 years ago
1.0.3-alpha.5
4 years ago
1.0.4-alpha.2
4 years ago
1.0.3-alpha.6
4 years ago
1.0.2-alpha.8
4 years ago
1.0.3
4 years ago
1.0.2-alpha.2
4 years ago
1.0.4-alpha.4
4 years ago
1.0.3-alpha.1
4 years ago
1.0.3-alpha.2
4 years ago
1.0.1-alpha.5
4 years ago
1.0.2-alpha.6
4 years ago
1.0.1-alpha.4
4 years ago
1.0.2-alpha.7
4 years ago
1.0.2-alpha.4
4 years ago
1.0.0
4 years ago