create-esmx
Version:
A scaffold tool for creating Esmx projects
81 lines (57 loc) ⢠1.79 kB
Markdown
# {{projectName}}
An Esmx project with Vue 3 and Client-Side Rendering.
## š¦ Tech Stack
- **Framework**: [Esmx](https://esmx.dev) - Next generation micro-frontend framework based on native ESM
- **UI Framework**: Vue 3
- **Build Tool**: Rspack
- **Type Checking**: TypeScript
- **Rendering Mode**: Client-Side Rendering (CSR)
## š Quick Start
### Install Dependencies
```bash
{{installCommand}}
```
### Development Environment
```bash
{{devCommand}}
```
Visit http://localhost:3000 to see the development environment.
### Production Build
```bash
{{buildCommand}}
```
### Start Production Server
```bash
{{startCommand}}
```
### Type Generation
```bash
{{buildTypeCommand}}
```
### Type Checking
```bash
{{lintTypeCommand}}
```
## š Project Structure
```
{{projectName}}/
āāā src/
ā āāā app.vue # Main application component with Esmx and Vue logos
ā āāā components/ # UI components
ā ā āāā hello-world.vue # Example component with counter functionality
ā āāā create-app.ts # Vue instance creation
ā āāā entry.client.ts # Client-side entry
ā āāā entry.node.ts # Node.js environment entry point
ā āāā entry.server.ts # CSR HTML shell (no SSR)
āāā package.json
āāā tsconfig.json
āāā README.md
```
## š§ Configuration Details
- `entry.client.ts` - Responsible for client-side interaction and dynamic updates
- `entry.node.ts` - Handles development environment setup and tooling
- `entry.server.ts` - Generates the HTML shell for CSR (no SSR)
## š Additional Resources
- [Esmx Official Documentation](https://esmx.dev)
- [Vue Documentation](https://vuejs.org)
- [TypeScript Documentation](https://www.typescriptlang.org)