Crea tu Sitio Web con Nuxt.js y GitHub Pages

Image for post
Image for post

Que es Nuxt.js ?

Como crear tu sitio usando Nuxt.js

1. Instalar vue-cli 💻

$ npm i -g vue-cli

2. Generar el proyecto 🏗

$ vue init nuxt/starter mi-sitio

3. Instalar dependencias 🔩

$ cd mi-sitio
$ npm i

4. Iniciar el repositorio 🚀

5. Deploy a GitHub Pages 🚢

"scripts": {  // otros scripts (no borrarlos)

"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup"
$ npm run generate
$ npm run deploy

6. Activar GitHub Page ✅

Full Stack Developer, Speaker and Auth0 Ambassador. Passionate about code, teach and field hockey. Mostly working with JavaScript, Vue.js and Node.js. 🚀

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store