Skip to content

artelydev/vue-shortener

Repository files navigation

🍭 Vue URL Shortener

This is backend-agnostic project structure as opposed to monolithic example.

What I'm gonna use:


Development

$ npm run serve

Project Structure

public

Static files.

src/api

API module for counting, storeing and geting Links.

src/components

This one serves as the VueJS components' storage. Usually src/components/.sample contains .vue files with:

  • a logic written in script[lang=coffee];
  • a template written in template[lang=pug];
  • styles written in style[lang=stylus][scoped];

src/utils/base62.coffee

base62 number encoder.

src/utils/variables.sss

Stylus/SugarSS variables.

src/App.vue

Vue instance.

src/main.js

Entry point.


🎉