An open API service indexing awesome lists of open source software.

https://github.com/andfanilo/personal-codepen

WIP: A Vue.js codepen clone
https://github.com/andfanilo/personal-codepen

codepen vue vuejs

Last synced: 3 months ago
JSON representation

WIP: A Vue.js codepen clone

Awesome Lists containing this project

README

          

# personal-codepen

A personal Codepen setup in Vue. Idea by [this post](https://willianjusten.com.br/criando-um-codepen-simples-em-poucas-linhas/).

## Prerequisites

- [Nodejs version 8.x](https://nodejs.org/en/)
- [Vue CLI](https://cli.vuejs.org/)

For development, we recommend :

- [Visual Code](https://code.visualstudio.com/)
- [Vue.js Extension Pack in Visual Code](https://marketplace.visualstudio.com/items?itemName=mubaidr.vuejs-extension-pack)
- [Browser Vue.js devtools](https://github.com/vuejs/vue-devtools#vue-devtools)

## Build

`npm install`

Installs all of the specified packages of your project.

## Run

`npm run serve`

This should redirect you to http://localhost:8080 for your application.

## Build

`npm run build`

You can deploy the built content in the `dist/` directory to any static file server.

## Setup VSCode

Run the `Setup VS Code` and `Setup ESLint` from the recommended settings in Vue.js extension pack documentation into your Workspace settings :

- Enable FormatOnSave & Eslint for .vue files

```
"editor.formatOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"vue"
]
```

- Configure ESLint

Create/update eslint config file (.eslintrc.js or .eslintrc.json) in your project folder, then fill it with :

```
module.exports = {
plugins: ['vue'], // enable vue plugin
extends: ['plugin:vue/essential', 'prettier'], // activate vue related rules
}
```