1.14.1 • Published 4 months ago
nanoweb-theme v1.14.1
Nano Template
A lightweight and extensible template rendering library for JavaScript projects. Includes utilities for HTML elements and template rendering. This project uses Vite for server-side rendering (SSR) with React and Express.js.
Usage
Use it as a template to create new repositories in your Git.
Installation
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Start the SSR:
npm run serve
- Build for production:
npm run build:client npm run build:server
Project Structure
.
├── public/ # Static assets
├── src/ # Source code
│ ├── App.jsx # Main React component
│ ├── entry-client.jsx # Client entry point
│ ├── entry-server.jsx # Server entry point
│ ├── index.html # Template for SSR
│ ├── styles/ # CSS styles
│ ├── components/ # React components
│ ├── layouts/ # React components for the server rendering
├── server.js # Express server
├── vite.config.js # Vite configuration
└── package.json # Project dependencies
Scripts
- Build: Builds the project using Rollup.
- Test: Runs tests using Jest.
- Lint: Checks code for linting issues.
- Release: Prepares the project for release.
Development
Testing
- Run all tests:
npm test
Linting
- Check linting issues:
npm run lint
Building
- Build the project:
npm run build
CHANGELOG.md
Keep a changelog for documenting updates in each release in CHANGELOG.md.
Contributing
See CONTRIBUTING.md for guidelines.
License
1.14.1
4 months ago
1.14.0
4 months ago
1.13.2
4 months ago
1.13.1
4 months ago
1.13.0
4 months ago
1.12.0
4 months ago
1.10.0
4 months ago
1.9.1
4 months ago
1.9.0
4 months ago
1.8.1
4 months ago
1.8.0
4 months ago
1.7.0
4 months ago
1.6.0
4 months ago
1.5.1
4 months ago
1.5.0
4 months ago
1.4.2
4 months ago
1.4.0
4 months ago
1.3.2
5 months ago
1.3.1
5 months ago
1.3.0
5 months ago
1.0.0
6 months ago