1.0.1 • Published 5 months ago

pagebuilderjs v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

PageBuilderJS

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.

Features

  • 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.

Getting Started

Prerequisites

  • Node.js version 18 or higher.

Installation

  1. Clone the repository:

    git clone https://github.com/standahorvath/PageBuilderJS.git
    cd PageBuilderJS
  2. Install dependencies:

    npm install

Scripts

  • 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.

Folder Structure

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

Dependencies

Core

Development

  • 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.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Commit your changes and submit a pull request.

Issues

If you encounter any problems or have feature requests, please report them on the issue tracker.

License

This project is licensed under the ISC License.

Links