npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

vue-builder-template

v1.0.0

Published

Builder Template (Vue + Typescript)

Downloads

41

Readme

Template Builder

How to use plugin

Solution 1: Build Package (Style Not Effect and Include Store)

  1. Run Command
yarn add vue-builder-template
  1. Run Command
yarn dev

or

npm run dev
  1. Setup nuxt.config.js file (only nuxt.js)
    "plugins": [
        { "src": "~/plugins/<filename>", "ssr": false }
    ]
  1. Import Package to main.ts or main.js file
    import Builder from 'vue-builder-template/src/main'

    Builder // declare create
  1. Use Component
    <div
        id="builder"
        ref="builder"
        data-id="builder"
        :data-prop-template="JSON.stringify(propTemplateJson)"
        @click="onUpdateTemplate"
    />

| attribute |value |type |description | |----------------------------------------|:-------:|:--------:| -------------------------------------------------------------------------------------- | |id |bilder |string |for access element | |ref |up to you|string |for access result template | |data-id |up to you|string |for create element (default: builder). Mutiple element should be setup difference name| |:data-prop-template (optional) |up to you|string |for setup default prop your template json | |@click="<YOUR_FUNCTION_NAME>" (optional)|up to you|function|for get result on function |

  1. Access Result Template
    JSON.parse(this.$refs.<REF_NAME>.dataset.resultTemplate)

Solution 2: Git Repo (Style Effect and Exclude Store)

  1. Add Dependencies in package.json
    "vue-builder-template": "git+ssh://[email protected]:3dsinteractive/pam-builder.git"
  1. Run Command
yarn add vue-builder-template

or

npm install vue-builder-template --save
  1. Create .env file
NODE_ENV=development
VUE_APP_TITLE=Builder
VUE_APP_ECOM_CMS_API=<Base URL API image storage>
VUE_APP_ADMIN_USERNAME=<Username for access to image storage>
VUE_APP_ADMIN_PASSWORD=<Password for access to image storage>

[optionnal]
VUE_APP_BASE_URL=<Base URL API image storage>
VUE_APP_TOKEN_IMAGE_STORAGE=<Token for access to image storage>
  1. Import Component in main.ts or main.js
    import Components from 'vue-builder-template/src/plugins/Index.ts'

    Vue.use(Components)
  1. Use Component
    <BuilderTemplate></BuilderTemplate>

How to Build and Publish Package (Self Reminder)

  1. Setup package.json (Change version)
  2. Setup tsconfig.json
  3. Run Command
yarn build:ts

or

npm run build:ts
  1. Register NPM
  2. [In Your Project Plugin] npm login and type username, password, email
  3. Run Command (Every publish must be change version in package.json)
npm publish
  • remark: [Unpublish version] Run npm unpublish <PACKAGE_NAME>@<VERSION> such as npm unpublish [email protected]
  • remark: [Deprecate version] Run npm deprecate -f <PACKAGE_NAME>@<VERSION> '<REASON>' such as npm deprecate -f [email protected] 'Have New Version'
  • remark: [Add User NPM for Delete Package] Run npm owner add npm <PACKAGE_NAME> such as npm owner add npm vue-builder-template
  • remark: [Delete Your User of Package] Run npm owner rm <USER> <PACKAGE_NAME> such as npm owner rm username vue-builder-template

Project setup

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.