Download the PHP package epik-dev/vue-items-list without Composer

On this page you can find all versions of the php package epik-dev/vue-items-list. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package vue-items-list

Vue items list

This is a test Drupal module that adds a Vue items list block which uses compiled Vue 3 SFC / Typescript component to render its content. The Vue component fetches and lists data from a predefined API endpoint (configurable).

Installation

  1. Use composer to install the module

  2. Once installed, to enable the module, go to the Extend page (Manage->Extend, {drupal_site}/admin/modules), find Vue items list (Test Module), tick a checkbox in front of it and click Install button

  3. Place the block via at Block layout page:

    1. Log in as an administrator on your Drupal site
    2. Navigate to Block layout page (Manage->Structure->Block layout, {drupal_site}/admin/structure/block)
    3. Select a block region where you want to place the block, e.g. Header (block region names are specific to themes) and click Place block button
    4. In the block list that opens, find the Vue items list block or type it in the filter textfield
    5. Once found, click Place block button next to it, configure options if necessary

Configuration options

When placing or configuring a block, two configuration options are available:

Technical info

Vue component is build as native ES module employing Vite, which compiles Vue SFC component into separate index.js and index.css files, which are loaded by the module to render its content.

Component source code folder is /vite/src Component build code folder /component

However, for this build to work, this module loads a separate Vue esm version from CDN, its url is specified under vue.cdn.esm key in vue_items_list.libraries.yml.

Modern Vue development best practices include using Vue SFCs (Single File Components), TypeScript, and Vite tooling.

Vue SFCs are files that can contain a block of code for scripts, templates, and styles that combine and encapsulate all aspects of a component. To use Typescript for Vue, a transpilation step is required, converting Typescript -> JS. Vite handles all of the above, moreover, it accelerates development with HMR and provides rich build options.

Requirements


All versions of vue-items-list with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package epik-dev/vue-items-list contains the following files

Loading the files please wait ...