egg-nuxt-plugin

template engine for egg.js

Usage no npm install needed!

<script type="module">
  import eggNuxtPlugin from 'https://cdn.skypack.dev/egg-nuxt-plugin';
</script>

README

egg-nuxt-plugin

npm npm node

基于 nuxt 的 egg 视图层(View)解决方案

Installation

npm i -S egg-nuxt-plugin

Usages

  • Egg 插件配置中开启
// config/plugin.js
exports.nuxt = {
  enable: true,
  package: 'egg-nuxt-plugin',
};
  • View 层代码默认的目录为 app/nuxt,参考 nuxt 开发即可

Issues

Submit the issues if you find any bug or have any suggestion.

Contribution

Fork the repository and submit pull requests.

Release Notes

CHANGELOG

License

npm