@lidhium/cli
v1.2.3
Published
micro-frontend cli packed with webpack
Maintainers
Readme
Lidhium JS
A modern micro-frontend development tool for Vue.js applications.
Website
Visit lidhiumjs.com for:
- 📚 Comprehensive documentation and guides
- 💡 Best practices and architecture patterns
- 🎓 Tutorials and examples
- 🔧 Configuration references
- 🚀 Getting started guides
- 👥 Community resources
Features
- 🚀 Quick setup for micro-frontend applications
- 🛠 Supports Vue3
- 📦 Built-in Webpack configuration
- 🔄 Seamless module federation
- 📈 Scalable architecture for growing applications
- ⚙️ Single configuration file for all apps
Installation
npm install -g @lidhium/cliUsage
Create a new project
lidhium init my-appGenerate a new micro-frontend app
lidhium generate app-name 3000Note: The first app you generate will always be of type
host.
Start Micro App
yarn start app-nameBuild for production
yarn build app-nameStart Dev-Tool
yarn dev-toolCommands
| Command | Description |
| ---------- | --------------------------------- |
| init | Initialize a new project |
| generate | Generate a new micro-frontend app |
| start | Start development server |
| build | Build for production |
| expose | Expose components from the app |
| bind | Bind other micro-frontend app |
| dev-tool | Start dev-tool |
Note: The
exposeandbindcommands should be run inside the micro-frontend app folder.
Support
- Vue3
- Webpack
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
