Skip to content

Commit

Permalink
fix(ui): ripple指令原型完成
Browse files Browse the repository at this point in the history
affects: @varlet/cli, @varlet/ui
  • Loading branch information
haoziqaq committed Nov 26, 2020
1 parent caddd0d commit 43f8665
Show file tree
Hide file tree
Showing 36 changed files with 185 additions and 617 deletions.
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineComponent({
</script>
<style scoped>
.example-container {
.example {
background: antiquewhite;
}
</style>
Expand Down
7 changes: 5 additions & 2 deletions packages/varlet-cli/src/config/webpack.dev.config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import merge from 'webpack-merge'
import WebpackBarPlugin from 'webpackbar'
import { createBaseConfig, createBasePlugins } from './webpack.base.config'
import { getVarletConfig } from './varlet.config'
import { accessProperty } from '../shared/fsUtils'

export function getDevConfig() {
const varletConfig = getVarletConfig()
return merge(createBaseConfig() as any, {
mode: 'development',
devtool: 'source-map',
output: {
chunkFilename: 'js/[name].[chunkhash:8].js',
},
devServer: {
port: 8080,
host: 'localhost',
port: accessProperty(varletConfig, 'port'),
host: accessProperty(varletConfig, 'host'),
publicPath: '/',
stats: 'errors-only',
disableHostCheck: true,
Expand Down
2 changes: 2 additions & 0 deletions packages/varlet-cli/varlet.default.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
namespace: 'varlet',
host: 'localhost',
port: 8080,
pc: {
title: 'Varlet 组件库文档',
description: 'Varlet 组件库文档',
Expand Down
31 changes: 0 additions & 31 deletions packages/varlet-ui/src/button/Button.vue

This file was deleted.

18 changes: 0 additions & 18 deletions packages/varlet-ui/src/button/__tests__/index.spec.js

This file was deleted.

143 changes: 0 additions & 143 deletions packages/varlet-ui/src/button/docs/en_US.md

This file was deleted.

Loading

0 comments on commit 43f8665

Please sign in to comment.