Skip to content

daemoncron/component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

@rei/component

This is a template for building REI components using @vue/cli with the legacy init command.

Usage

$ npm install -g @vue/cli @vue/cli-init
$ vue init rei/component your-component-name
$ cd your-component-name
$ npm install
$ npm run dev

CLI Options

options description
name Component name - write in kebab-case, used throughout project, so choose wisely!
description Component description
author Your name and email address

About Example and Development Files

  • An example component is optionally auto-generated with Cedar component examples and example Cedar Token usage.
  • A local development environment for building and testing props and styles from external components will be setup.

What's Included

  • npm run dev: @rei/febs runs the dev server and environment

  • npm run build: build ES Modules and CommonJS export files with rollup.

Development

  • Install vue-cli: npm install -g @vue/cli @vue/cli-init
  • Make changes inside /template and push the branch to GitHub
  • Run vue init rei/component#NAME-OF-YOUR-BRANCH-HERE some-test-project, then inspect the generated project.

About

A simple Webpack + vue-loader setup for quick prototyping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.2%
  • Vue 22.4%
  • SCSS 9.1%
  • HTML 5.3%