Giter VIP home page Giter VIP logo

cobblestone's People

Contributors

aaronkow avatar kyleoliveiro avatar merrypr avatar pedsmoreira avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cobblestone's Issues

Add MPA strategy

Cobblestone currently only generates an SPA. Sometimes, we want to generate a multi-page application instead.

Use Cypress for component unit tests?

We're currently using Cypress for app-level integration/e2e tests. However, component unit tests are handled with @vue/test-utils. We can instead use https://github.com/bahmutov/cypress-vue-unit-test for consistency.

Add developer guides

Beef up the "Recipes" section of the README into full-fledged developer guides.

Add vue-meta

Need a solution for setting meta tags with vue-router.

Add more fixtures

More stuff to speed up development time when plugging fake data into tests.

Some ideas:

  • Countries, Schools, Occupations, etc.
  • Image URLs (of different formats and sizes)
  • Emoji's and weird characters
  • XSS strings and other fuzzers?

Scaffold a new component with template

Since there is multiple files (e.g. .vue .md, stories.js, test.js) required to be create every single time we want a new component.

Good to have, say if we have an npm command that able to scaffold the files automatically like

$ npm run component Button

or

$ yarn component Button

Apply namespace in one place then reflect throughout the project

It would be good if we have a way to define the namespace variable in one place then it would be used throughout the css and HTML.

<template>
  <a
    :class="`${componentClass}`">
      <slot></slot>
  </a>
</template>

<script>
import {PROJECT_NAME} from './constants';

export default {
  name: "Link"
  props: {
    componentClass: {
      type: String,
      default: `${PROJECT_NAME}-link`
    }
  }
}
</script>

<style lang="scss">
.#{$project-name}-link {
  color: #111;
  text-decoration: none;
}
</style>

So, if we setup in this way that, we just need to change the variable in one place, then the namespace will be reflected throughout the project files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.