【文件属性】:
文件名称:nuxt-content-highlight:@nuxtcontent的文本突出显示包装器
文件大小:351KB
文件格式:ZIP
更新时间:2021-05-07 18:55:09
vue highlighting nuxt highlight nuxt-module
nuxt-content-highlight
@nuxt/content文本高亮包装器。
安装
$ yarn add -D nuxt-content-highlight
或者
$ npm install -D nuxt-content-highlight
演示版
克隆此存储库,然后:
$ yarn dev
或者
$ npm run dev
并导航到http://localhost:3000 。
用法示例
nuxt.config.js添加到nuxt.config.js (如果尚不存在):
modules : [
'@nuxt/content' ,
'nuxt-content-highlight' ,
] ,
build : {
transpile : [
'nuxt-content-hi
【文件预览】:
nuxt-content-highlight-master
----.gitignore(1KB)
----package.json(1KB)
----jest.config.js(393B)
----LICENSE(1KB)
----README.md(3KB)
----demo()
--------.babelrc(195B)
--------package.json(376B)
--------nuxt.config.js(601B)
--------layouts()
--------pages()
--------content()
--------yarn.lock(404KB)
----lib()
--------templates()
--------index.js(418B)
----test()
--------fixture()
--------component.test.js(935B)
----yarn.lock(497KB)