Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/femessage/nuxt-modularize
🧩Nuxt module for modular development & deploy on demand
https://github.com/femessage/nuxt-modularize
Last synced: 4 days ago
JSON representation
🧩Nuxt module for modular development & deploy on demand
- Host: GitHub
- URL: https://github.com/femessage/nuxt-modularize
- Owner: FEMessage
- License: mit
- Created: 2020-02-19T09:35:30.000Z (over 4 years ago)
- Default Branch: dev
- Last Pushed: 2020-03-04T13:46:50.000Z (over 4 years ago)
- Last Synced: 2024-10-29T13:01:51.369Z (14 days ago)
- Language: JavaScript
- Homepage:
- Size: 192 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README-zh.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt-Modularize
[![Build Status](https://badgen.net/travis/FEMessage/nuxt-modularize/master)](https://travis-ci.com/FEMessage/nuxt-modularize)
[![NPM Download](https://badgen.net/npm/dm/@femessage/nuxt-modularize)](https://www.npmjs.com/package/@femessage/nuxt-modularize)
[![NPM Version](https://badgen.net/npm/v/@femessage/nuxt-modularize)](https://www.npmjs.com/package/@femessage/nuxt-modularize)
[![NPM License](https://badgen.net/npm/license/@femessage/nuxt-modularize)](https://github.com/FEMessage/nuxt-modularize/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/FEMessage/nuxt-modularize/pulls)
[![Automated Release Notes by gren](https://img.shields.io/badge/%F0%9F%A4%96-release%20notes-00B2EE.svg)](https://github-tools.github.io/github-release-notes/)**一键实现模块化开发 Nuxt**
[English](./README.md)
[📖 **发布日志**](./CHANGELOG.md)
## 功能特性
使用这个 nuxt module 你可以:- 将一个项目划分为多个模块进行开发
- 按需构建生成需要的模块
- 更友好的组件化开发模式,例如你可以将一个页面分为几个模块,这些 vue 文件都可以放到同一个目录下
- 其他的开发体验与 Nuxt 一致## 安装
1. 添加 `@femessage/nuxt-modularize` 依赖到项目中
```bash
yarn add @femessage/nuxt-modularize -D
# or npm install @femessage/nuxt-modularize -D
```2. 添加 `@femessage/nuxt-modularize` 到 `nuxt.config.js` 的 `modules` 属性中
```js
{
modules: [
// Simple usage
'@femessage/nuxt-modularize',// With options
['@femessage/nuxt-modularize', { /* module options */ }]
]
}
```## 如何使用
[文档](./docs/how-to-use.md)
# 开发
1. 克隆此仓库
2. 安装依赖 `yarn install` 或者 `npm install`
3. 运行 `npm run dev` 启动开发服务## License
[MIT License](./LICENSE)
Copyright (c) FEMessage