restructuring
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = {
|
|||||||
use: '@gridsome/vue-remark',
|
use: '@gridsome/vue-remark',
|
||||||
options: {
|
options: {
|
||||||
typeName: 'DocPage',
|
typeName: 'DocPage',
|
||||||
baseDir: './src/data/posts',
|
baseDir: './src/docPages',
|
||||||
template: './src/templates/DocPage',
|
template: './src/templates/DocPage',
|
||||||
plugins: [
|
plugins: [
|
||||||
'@gridsome/remark-prismjs',
|
'@gridsome/remark-prismjs',
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import linkGroups from '@/data/links.yaml'
|
import linkGroups from '@/links.yaml'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ In tiptap we define every node in its own `Extension` class instead. This allows
|
|||||||
```js
|
```js
|
||||||
class Document extends Node {
|
class Document extends Node {
|
||||||
name = 'document'
|
name = 'document'
|
||||||
|
topNode = true
|
||||||
|
|
||||||
schema() {
|
schema() {
|
||||||
return {
|
return {
|
||||||
@@ -62,7 +62,7 @@ query {
|
|||||||
</static-query>
|
</static-query>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import linkGroups from '@/data/links.yaml'
|
import linkGroups from '@/links.yaml'
|
||||||
import Icon from '@/components/Icon'
|
import Icon from '@/components/Icon'
|
||||||
import PageNavigation from '@/components/PageNavigation'
|
import PageNavigation from '@/components/PageNavigation'
|
||||||
import GithubButton from 'vue-github-button'
|
import GithubButton from 'vue-github-button'
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
Layout components are used to wrap pages and templates. Layouts should contain components like headers, footers or sidebars that will be used across the site.
|
|
||||||
|
|
||||||
Learn more about Layouts: https://gridsome.org/docs/layouts/
|
|
||||||
|
|
||||||
You can delete this file.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
Pages are usually used for normal pages or for listing items from a GraphQL collection.
|
|
||||||
Add .vue files here to create pages. For example **About.vue** will be **site.com/about**.
|
|
||||||
Learn more about pages: https://gridsome.org/docs/pages/
|
|
||||||
|
|
||||||
You can delete this file.
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
Templates for **GraphQL collections** should be added here.
|
|
||||||
To create a template for a collection called `WordPressPost`
|
|
||||||
create a file named `WordPressPost.vue` in this folder.
|
|
||||||
|
|
||||||
Learn more: https://gridsome.org/docs/templates/
|
|
||||||
|
|
||||||
You can delete this file.
|
|
||||||
3
docs/static/README.md
vendored
3
docs/static/README.md
vendored
@@ -1,3 +0,0 @@
|
|||||||
Add static files here. Files in this directory will be copied directly to `dist` folder during build. For example, /static/robots.txt will be located at https://yoursite.com/robots.txt.
|
|
||||||
|
|
||||||
This file should be deleted.
|
|
||||||
Reference in New Issue
Block a user