Welcome to the MTW Nuxt Components repository! This repository contains a collection of reusable components that can be integrated into Nuxt.js projects to accelerate development and maintain design consistency throughout the application.
See the components documentation on the Wiki
# last version
pnpm add govapps/mtw-nuxt-components
# another version, exemple install version 1.0.1
pnpm add mtw-nuxt-components#semver:1.0.1components: [
"~/node_modules/mtw-nuxt-components/components"
]module.exports = {
content: [
"./node_modules/mtw-nuxt-components/components/**/*.{js,vue,ts}",
],To use a component in your Nuxt.js project, import it in any component where you want to use it. For example:
<template>
<div class="text-center">
<Text is-bold>
Hi there!
</text>
<Switch class="mt-2" :value="true" />
</div>
</template># yarn
yarn install
# npm
npm install
# pnpm
pnpm install
2. Start the development server on http://localhost:3000
npm run devIf you would like to contribute to this project, feel free to submit pull requests. Be sure to follow inclusion guidelines and follow existing code standards.
This repository is licensed under the MIT License, which means you are free to use, modify, and distribute the components according to the terms of the license.
We hope these components prove valuable for your Nuxt.js project! If you have any questions or suggestions, feel free to open an issue in this repository. Thank you for contributing and using our components!
