Git Product home page Git Product logo

blog's Introduction

项目介绍

基于 nuxt 和 @nuxt/content 模块的博客系统

使用方式

在 content 目录中通过 markdown 语法来创建文章,markdown 语法支持嵌入 vue 组件,创建的文章会按照目录结构生成对应的页面结构。

最上级的目录会生成顶部的菜单栏,下级目录会生成左侧边栏,文章内部的标题内容会生成右侧边栏。content/index.md 可以设置首页内容。

静态部署

执行 npm run generate 后会在 .nuxt 目录下生成 public 目录,把 public 目录下的内容部署到静态服务器上就可以了。公共路径的前缀默认是 blog,可通过 nuxt.config.ts 的 app.baseURL 进行配置。

blog's People

Contributors

changk99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.