All Projects → nuxt-community → Nuxtent Module

nuxt-community / Nuxtent Module

Licence: mit
Seamlessly use content files in your Nuxt.js sites.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nuxtent Module

Nuxt7
📱 Full Featured iOS & Android PWA Apps with Nuxt.js and Framework7
Stars: ✭ 282 (-29.32%)
Mutual labels:  nuxt
Nuxt Material Admin
Vue-CLI Boilerplate based on Nuxt and vue-material-admin template.
Stars: ✭ 310 (-22.31%)
Mutual labels:  nuxt
Vue Notion
A fast Vue renderer for Notion pages
Stars: ✭ 343 (-14.04%)
Mutual labels:  nuxt
Srcms
SRCMS企业应急响应与缺陷管理系统
Stars: ✭ 282 (-29.32%)
Mutual labels:  content-management
Nuxt Elm
基于nuxt2+vue构建的全栈开源项目
Stars: ✭ 304 (-23.81%)
Mutual labels:  nuxt
Grav Plugin Admin
Grav Admin Plugin
Stars: ✭ 316 (-20.8%)
Mutual labels:  content-management
E107
e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
Stars: ✭ 272 (-31.83%)
Mutual labels:  content-management
Joomla Cms
Home of the Joomla! Content Management System
Stars: ✭ 3,995 (+901.25%)
Mutual labels:  content-management
Blog Front
blog-front @nuxt
Stars: ✭ 305 (-23.56%)
Mutual labels:  nuxt
Pico
Pico is a stupidly simple, blazing fast, flat file CMS.
Stars: ✭ 3,494 (+775.69%)
Mutual labels:  content-management
Nuxt Property Decorator
Property decorators for Nuxt (base on vue-property-decorator)
Stars: ✭ 293 (-26.57%)
Mutual labels:  nuxt
Vue Kindergarten
Modular security for Vue, Vuex, Vue-Router and Nuxt
Stars: ✭ 303 (-24.06%)
Mutual labels:  nuxt
Router Module
Nuxt.js module to use router.js instead of pages/ directory.
Stars: ✭ 322 (-19.3%)
Mutual labels:  nuxt
Distributor
Share content between your websites.
Stars: ✭ 282 (-29.32%)
Mutual labels:  content-management
Nuxt Purgecss
Drop superfluous CSS! A neat PurgeCSS wrapper for Nuxt.js
Stars: ✭ 356 (-10.78%)
Mutual labels:  nuxt
Nuxt Blog
基于Nuxt.js服务器渲染(SSR)搭建的个人博客系统
Stars: ✭ 277 (-30.58%)
Mutual labels:  nuxt
Katello
Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.
Stars: ✭ 312 (-21.8%)
Mutual labels:  content-management
Awesome Nuxt
A curated list of awesome things related to Nuxt.js
Stars: ✭ 4,285 (+973.93%)
Mutual labels:  nuxt
Koa Template
Starter template for Nuxt.js with KoaJS.
Stars: ✭ 374 (-6.27%)
Mutual labels:  nuxt
Anchor Cms
A lightweight blog CMS for PHP
Stars: ✭ 3,359 (+741.85%)
Mutual labels:  content-management

Deprecated ⚠️

Nuxtent has been deprecated, please checkout Nuxt Content: https://content.nuxtjs.org




Nuxtent

Seamlessly use content files in your Nuxt.js sites.

https://nuxtent-module.netlify.com/guide

📖 Release Notes

This is a work in progress from integrating nuxtdown features and fixing critical bugs. DO NOT USE IN PRODUCTION

Summary

The goal of Nuxtent is to make using Nuxt for content heavy sites as easy as using Jekyll, Hugo, or any other static site generator.

Nuxtent mainly does this in two ways:

  1. By compiling all the data from markdown or yaml files based on configured rules.

  2. By providing helpers for dynamically accessing this data inside Nuxt pages.
    But, we didn't just want to make Nuxtent as good as a static site generator–we wanted to make it better.
    So, along with that, Nuxtent also supports:

  3. The usage of content files in both static sites and dynamic applications.

  4. The usage of Vue components inside markdown files.

  5. Automatic content navigation, between pages via path and within pages via anchors.

There you go: five reasons to give Nuxtent a try, and maybe even star and share it. 😏

Features

  • Simple configuration
  • Allows you to override settings for the markdown parser (markdown-it), and use its plugins
  • Support both blog posts or similar flat content structures, and a nested hierarchy of markdown content
  • Adds useful info to your markdown page's meta info, including:
    • Any data your specify in the config file
    • A breadcrumbs trail for hierarchical markdown content
    • (the info for) a table of contents
  • Support for using vue components inside your markdown content
  • Adds the $content helper to Nuxt to allow your to access your markdown content and metadata inside Nuxt pages

v3.X goals

  • [ ] Improve the documentation and at least a spanish translation
  • [-] Windows compatible (Help needed)
  • [ ] Be zeroconf and extendible through it's own api and exposing the markdown parser
  • [ ] Allow default attributes to be set on the frontmatter ej. title
  • [ ] Real async modules (this affects ssr more than a static build)
  • [ ] Fully integrate with the new features nuxt2.0 and node 11
  • [ ] Debugable configuration
  • [ ] Better error reporting
  • [ ] Improve the template with optional addons as examples
  • [ ] Document the code in order to simplify contributions and future development
  • [ ] Support multiple file types
  • [ ] Integrate the api configuration with nuxt itself while keeping it configurable
  • [x] Expose $content helper and it's constant like api endpoint through all of vue
  • [ ] Vuex integration
  • [-] Improve on SSR memory usage
  • [ ] Keep the main features from nuxtdown:
    • [ ] Breadcrubms
    • [ ] Automatic table of content (TOC)
    • [ ] Isolated and global configurations
    • [ ] Allow for nested content and index files

Simple yet flexible API

Nuxtent was created to integrate with Nuxt (otherwise, you're just building another Jekyll-like tool, with the same amount of mental overhead).

Nuxtent's API is simple yet flexible. All you have to do is

  • Configure the content and
  • Fetch the files with the $content helper inside the asyncData method that is available in Nuxt pages.

Here's a basic example:

// nuxtent.config.js
module.exports = {
  content: {
    page: '/_post',
    permalink: ':year/:slug'
  }
}

// pages/_post.vue
export default {
  asyncData: async ({ app, route }) => ({
    post: await app.$content('posts').get(route.path)
  })
}

The response for each item is:


{
	
}

Quick Start

If you're starting a new site, you can use the nuxtent-starter template.

$ vue init nuxt-community/nuxtent-template my-site
$ cd my-site
# install dependencies
$ npm install # Or yarn install

Or if you already have your nuxt project:

Installation

npm install nuxtent --save

Then, under nuxt.config.js install the module:

modules: [
   'nuxtent'
 ]

Documentation

Documentation available at: https://nuxtent-module.netlify.com/guide (built with Nuxtent).

Sites built with Nuxtent

Have a site using Nuxtent? Fork the repo and add it to the list below!

Personal Sites

Documentation Sites

Corporate Sites

License

MIT License

Copyright (c) 2017 Nuxt Community

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].