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 🙏

© 2024 – Pkg Stats / Ryan Hefner

vuefront-moonomen-theme

v0.1.0

Published

Moon Omen VueFront theme

Downloads

4

Readme

Vuefront Theme Kit

Build your own VueFront theme today. It's easy.

this instructions is made for devleoping a publicly accessible VueFront theme aka FREE THEME

Quick Start

  1. Setup VS Code development environment
  2. Develop
  3. Publish

1. Setup VS Code development environment

Use VS Code. To make things easier, we recommend using VS Code for rapid development.

Name your theme in the following pattern:

    # vuefront-[themename]-theme
    vuefront-myvuefront-theme

    # or vuefront-my-vuefront-theme

Step 1: Clone this repo into a folder that is named according to your theme name [themename]-theme

    └── myvuefront-theme

Step 2: Run Command

    yarn install

Step 3: Inside the cloned repo you will find the following files that need to be edited:

  1. .vscode/tasks.json - will add task to your VS Code. We recommend installing a VS Code plugin tasks to see these tasks in the status bar for ease of access.
  2. package.json
  3. index.js

You will need to edit these veriables

YOUR_THEME_NAME - your theme name. ex. myvuefront YOUR_VUEFRONT_WEBAPP_TEST_FOLDER - your vuefront web app test folder in VSCODE Workspace. ex. myvuefront-theme-test YOUR_THEME_NPM_NAME - your NPM package name. ex. vuefront-myvuefront-theme

Step 4: Publish your Theme to NPM

To make your theme installible via NPM (or Yarn) you will need to publish the inistal version of 0.1.0 under your NPM username

    # 1. Log in NPM
    npm login 

    # 2. Publish (when publishing first time)
    npm publish --access public

Step 5: Add VueFront Web App folder to your VS Code Workspace

To start developing your theme, you will first need to install VueFront Web App.

  1. Create a folder [themename]-theme-test
    └── myvuefront-theme
    └── myvuefront-theme-test
  1. Install VueFront Web App
    # 1. Run command 
    yarn create vuefront-app

    # 2. Provide CMS Connect URL (ex. https://wordpress.vuefront.com/wp-json/vuefront/v1/graphql)
  1. Install your theme on this App
    # Run Command
    yarn add vuefront-myvuefront-theme
  1. Edit vuefront.config.js to specify the theme
    export default {
        theme: 'vuefront-myvuefront-theme'
        ...
  1. Run command to see your theme in action
    yarn dev

Step 6: Run VS Code Tasks

  1. Run task Mytheme Build - this will build your theme into the lib folder.
  2. Run task Mytheme Theme Sync - this will start watching all changes in your myvuefront-theme folder and move it to myvuefront-theme-test/node_modules/vuefront-myvuefront-theme

Now you can develop the theme in your myvuefront-theme folder and see imidiate updates on the app built from folder myvuefront-theme-test

2. Develop

Developing a theme is similar to customizing your VueFront Web App.

  1. You can customize components by creating a copy of them in your YOUR_THEME_NAME-theme/components and initializing them in YOUR_THEME_NAME-theme/components/index.js. learn more
  2. You can add your CSS styles in assets/css/main.scss

3. Publish

Publishing is easy. Just upgrade your version in package.json and rund command npm publish