Skip to content
This repository has been archived by the owner on Jul 18, 2019. It is now read-only.

feat(styles): files about css style sheet manager in src/styles #19

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.4.1](https://github.com/levy9527/nuxt-element-dashboard/compare/v2.4.0...v2.4.1) (2019-05-22)


### Bug Fixes

* 格式化出错误代码 ([385642e](https://github.com/levy9527/nuxt-element-dashboard/commit/385642e))



## [2.4.0](https://github.com/levy9527/nuxt-element-dashboard/compare/v2.3.4...v2.4.0) (2019-05-21)


### Features

* **meta.js:** 将meta信息本地化 ([b197ff0](https://github.com/levy9527/nuxt-element-dashboard/commit/b197ff0))



### [2.3.4](https://github.com/levy9527/nuxt-element-dashboard/compare/v2.3.3...v2.3.4) (2019-05-17)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ yarn generate
├── nuxt.config.js 框架配置文件
├── package.json
├── src 开发目录
│   ├── assets 资源,包括样式文件与图片
│   ├── styles 未编译的样式资源
│   │   ├── global.less 全局样式类
│   │   └── var.less 样式变量,支持less变量自动引入,即不用在less中import就能直接使用变量
│   ├── components 业务无关的可复用的组件
Expand Down
7 changes: 4 additions & 3 deletions doc/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,13 @@ table 里空值就显示空白, 不需要显示占位符 `-`

### 统一 footer 样式 .data-table-footer

已写在 /assets/global.styl 可直接使用
已写在 /styles/global.less 可直接使用

```stylus
.data-table-footer
```less
.data-table-footer {
margin-top 24px
text-align right
}
```

## form 表单
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ module.exports = {
* @Link https://github.com/nuxt-community/style-resources-module/
*/
styleResources: {
less: '~assets/var.less'
less: '~styles/var.less'
},
css: [
{
src: '~assets/global.less',
src: '~styles/global.less',
lang: 'less'
}
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-element-dashboard",
"version": "2.3.4",
"version": "2.4.1",
"description": "Nuxt2 + element UI project",
"author": "levy <[email protected]>",
"license": "MIT",
Expand Down
8 changes: 0 additions & 8 deletions src/assets/README.md

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/global.less → src/styles/global.less
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ body {
}

*, *:before, *:after {
box-sizing: border-box;
margin: 0;
}

Expand Down
File renamed without changes.