Skip to content

Commit 13a4920

Browse files
authored
Merge pull request #2 from Dahkenangnon/dev
Add docs
2 parents fefdd77 + b9e694d commit 13a4920

26 files changed

+8303
-30
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.8-dev
2+
## 1.0.7-dev
3+
## 1.0.6-dev
4+
## 1.0.5-dev
15
## 1.0.4-dev
26
## 1.0.3-dev
37
## 1.0.2-dev

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,5 @@ var reAuthResponse = await flutterFeathersjs.reAuthenticate()
7171
## Contribution
7272

7373
- Contact-me for improvment or contribution purpose
74-
- Example is coming
74+
- Example is coming
75+
- Looking for contributor

docs/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
pids
2+
logs
3+
node_modules
4+
npm-debug.log
5+
coverage/
6+
run
7+
dist
8+
.DS_Store
9+
.nyc_output
10+
.basement
11+
config.local.js
12+
basement_dist

docs/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "flutter_feathersjs",
3+
"version": "0.0.1",
4+
"description": "Communicate with your feathers js server from flutter",
5+
"main": "index.js",
6+
"authors": {
7+
"name": "Justin Y. Dah-kenangnon",
8+
"email": "dah.kenangnon@gmail.com"
9+
},
10+
"repository": "https://github.com/Dahkenangnon/flutter_feathersjs.dart/flutter_feathersjs",
11+
"scripts": {
12+
"dev": "vuepress dev src",
13+
"build": "vuepress build src"
14+
},
15+
"license": "MIT",
16+
"devDependencies": {
17+
"@vuepress/plugin-nprogress": "^1.7.1",
18+
"vuepress": "^1.5.3"
19+
}
20+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template>
2+
<p class="demo">
3+
{{ msg }}
4+
</p>
5+
</template>
6+
7+
<script>
8+
export default {
9+
data () {
10+
return {
11+
msg: 'Hello this is <Foo-Bar>'
12+
}
13+
}
14+
}
15+
</script>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<p class="demo">This is another component</p>
3+
</template>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template>
2+
<p class="demo">
3+
{{ msg }}
4+
</p>
5+
</template>
6+
7+
<script>
8+
export default {
9+
data() {
10+
return {
11+
msg: 'Hello this is <demo-component>'
12+
}
13+
}
14+
}
15+
</script>

docs/src/.vuepress/config.js

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
const { description } = require('../../package')
2+
3+
module.exports = {
4+
/**
5+
* Ref:https://v1.vuepress.vuejs.org/config/#title
6+
*/
7+
title: 'FlutterFeatherjs',
8+
/**
9+
* Ref:https://v1.vuepress.vuejs.org/config/#description
10+
*/
11+
description: description,
12+
13+
/**
14+
* Extra tags to be injected to the page HTML `<head>`
15+
*
16+
* ref:https://v1.vuepress.vuejs.org/config/#head
17+
*/
18+
head: [
19+
['meta', { name: 'theme-color', content: '#3eaf7c' }],
20+
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
21+
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
22+
['link', { rel: 'icon', href: '/assets/img/logo.png' }]
23+
],
24+
25+
/**
26+
* Theme configuration, here is the default theme configuration for VuePress.
27+
*
28+
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
29+
*/
30+
themeConfig: {
31+
repo: '',
32+
editLinks: false,
33+
docsDir: '',
34+
editLinkText: '',
35+
lastUpdated: true,
36+
nav: [{
37+
text: 'Guide',
38+
link: '/guide/',
39+
},
40+
{
41+
text: 'Github',
42+
link: 'https://github.com/Dahkenangnon/flutter_feathersjs.dart'
43+
},
44+
{
45+
text: 'Pub.Dev',
46+
link: 'https://pub.dev/packages/flutter_feathersjs'
47+
}
48+
],
49+
sidebar: {
50+
'/guide/': [{
51+
title: 'Guide',
52+
collapsable: true,
53+
children: [
54+
'',
55+
'installation',
56+
'authentication',
57+
'using-rest',
58+
'using-socketio',
59+
'how-to-upload-file',
60+
'listening-event',
61+
'examples'
62+
]
63+
}, ],
64+
}
65+
},
66+
67+
/**
68+
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
69+
*/
70+
plugins: [
71+
'@vuepress/plugin-back-to-top',
72+
'@vuepress/plugin-medium-zoom',
73+
]
74+
}

docs/src/.vuepress/enhanceApp.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Client app enhancement file.
3+
*
4+
* https://v1.vuepress.vuejs.org/guide/basic-config.html#app-level-enhancements
5+
*/
6+
7+
export default ({
8+
Vue, // the version of Vue being used in the VuePress app
9+
options, // the options for the root Vue instance
10+
router, // the router instance for the app
11+
siteData // site metadata
12+
}) => {
13+
// ...apply enhancements for the site.
14+
}
56.9 KB
Loading

0 commit comments

Comments
 (0)