PageBuilderJS is a web block builder built in Vue.js. It leverages modern tools like Vite, Tailwind CSS, and Vitest to deliver a seamless and developer-friendly experience for building dynamic and customizable web pages.
- Built with Vue 3 for modern reactive web development.
- Includes Tailwind CSS with support for forms and typography plugins.
- Development powered by Vite for fast builds and hot module replacement.
- Unit testing using Vitest and happy-dom.
- Pre-configured ESLint and Prettier for code linting and formatting.
- Node.js version 18 or higher.
-
Clone the repository:
git clone https://github.com/standahorvath/PageBuilderJS.git cd PageBuilderJS
-
Install dependencies:
npm install
-
Development server:
npm run dev
Starts the development server with hot module replacement.
-
Build for production:
npm run build
Creates an optimized production build.
-
Preview production build:
npm run preview
Serves the production build locally on port 3000.
-
Run unit tests:
npm run test:unit
Executes unit tests using Vitest.
-
Lint and fix files:
npm run lint
Lints JavaScript and Vue files, automatically fixing issues when possible.
PageBuilderJS/
├── src/ # Application source code
├── public/ # Static assets
├── tests/ # Unit test files
├── vite.config.js # Vite configuration
├── tailwind.config.js # Tailwind CSS configuration
└── ... # Other project files
- vue - Reactive framework for building user interfaces.
- @heroicons/vue - Vue components for Heroicons.
- @tailwindcss/forms - Tailwind plugin for better form styles.
- @tailwindcss/typography - Tailwind plugin for improved typography.
- vite - Build tool for fast and optimized development.
- vitest - Unit testing framework.
- eslint - Linter for JavaScript and Vue.
- prettier - Code formatter.
- tailwindcss - Utility-first CSS framework.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Commit your changes and submit a pull request.
If you encounter any problems or have feature requests, please report them on the issue tracker.
This project is licensed under the ISC License.