Skip to content

Commit

Permalink
Merge pull request #143 from libvue/improve/misc
Browse files Browse the repository at this point in the history
Improve/misc
  • Loading branch information
harmendv authored Dec 18, 2023
2 parents 20ba274 + cf868e4 commit a97d36e
Show file tree
Hide file tree
Showing 139 changed files with 5,579 additions and 3,340 deletions.
34 changes: 25 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,40 @@

### Install

```bash
> npm install --save @libvue/core
```shell
npm install --save @libvue/core
```

#### main.js
```js
// app.js
import { spaceAfter, LvButton, LvTable } from '@libvue/core';
import { LvButton, LvTable, spaceAfter } from '@libvue/core';

// Register spaceAfter directive
app.directive('space-after', spaceAfter);

// Register Common Components
// Register components
app.component('LvButton', LvButton);
app.component('LvTable', LvTable);

// Register directives
app.directive('space-after', spaceAfter);
```

#### app.scss
```scss
// app.scss
@import '@libvue/core';

html {
min-height: 100%;
height: 100%;
font-size: 100%;
}
body {
margin: 0;
font-family: "Inter", sans-serif;
height: 100%;
font-size: .875rem;
line-height: 1.5;
}
#app {
display: flex;
min-height: 100%;
}
```
21 changes: 11 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Libvue Documentation</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/docs/main.js"></script>
</body>
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="An opensource collection of vue 3 components." />
<title>@libvue/core documentation</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/docs/main.js"></script>
</body>
</html>
5,661 changes: 3,636 additions & 2,025 deletions package-lock.json

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libvue/core",
"version": "0.1.30",
"version": "1.0.0",
"private": false,
"scripts": {
"dev": "vite",
Expand All @@ -21,38 +21,38 @@
"license": "MIT",
"author": "Harmen de Vries <harmendv@gmail.com> (https://harmen.dev/)",
"dependencies": {
"@tiptap/extension-link": "^2.0.0-beta.202",
"@tiptap/extension-underline": "^2.0.0-beta.202",
"@tiptap/starter-kit": "^2.0.0-beta.202",
"@tiptap/vue-3": "^2.0.0-beta.202",
"@vueuse/core": "^9.3.0",
"@vueuse/integrations": "^9.3.1",
"chart.js": "^4.1.2",
"date-fns": "^2.29.3",
"embla-carousel": "^7.0.5",
"focus-trap": "^7.0.0",
"hast-util-to-html": "^8.0.4",
"@tiptap/extension-link": "^2.1.12",
"@tiptap/extension-underline": "^2.1.12",
"@tiptap/starter-kit": "^2.1.12",
"@tiptap/vue-3": "^2.1.12",
"@vueuse/core": "^10.5.0",
"@vueuse/integrations": "^10.5.0",
"chart.js": "^4.4.0",
"date-fns": "^2.30.0",
"embla-carousel": "^8.0.0-rc14",
"focus-trap": "^7.5.4",
"lucide-static": "^0.290.0",
"tiny-emitter": "^2.1.0",
"tippy.js": "^6.3.7",
"tippy.vue": "^3.2.1",
"uuid": "^9.0.0",
"vue": "^3.2.39"
"vue": "^3.3.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"@vue/compiler-sfc": "^3.2.39",
"eslint": "^8.24.0",
"@highlightjs/vue-plugin": "^2.1.0",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/compiler-sfc": "^3.3.7",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.6.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.17.0",
"highlight.js": "^11.9.0",
"postcss": "^8.4.17",
"prettier": "^2.8.2",
"prettier-plugin-css-order": "^1.3.0",
"sass": "^1.41.1",
"vite": "^4.0.4",
"vue-router": "^4.1.5"
"prettier": "^3.0.3",
"prettier-plugin-css-order": "^2.0.1",
"sass": "^1.68.0",
"vite": "^4.4.9",
"vue-router": "^4.2.5"
}
}
Loading

0 comments on commit a97d36e

Please sign in to comment.