An easy way to build you own personal web resume! 💪
- Install NodeJS
- Clone the repository
- Install dependencies:
$ npm install
- Build application:
$ npm run build
- Run in dev mode:
$ npm run dev
You can easily customize the template and the languages! 🚀
- To do this, you have to edit the locales files as you want! 📄
English: ./locales/en.json
Spanish ./locales/es.json
- Create a new language file in the folder
./locales
:
- eg. :
fr.json
- Change i18n configuration in the nuxt.config.js,
i18n: {
locales: ['en', 'es', 'fr'],
defaultLocale: 'en',
vueI18n: {
fallbackLocale: 'en',
messages: {
en: require('./locales/en.json'),
es: require('./locales/es.json'),
fr: require('./locales/fr.json')
}
}
},
- You can easily change the actual language by following way:
<div>
<nuxt-link class="btn btn-light" :to="switchLocalePath('en')">EN</nuxt-link>
<nuxt-link class="btn btn-light" :to="switchLocalePath('es')">ES</nuxt-link>
<nuxt-link class="btn btn-light" :to="switchLocalePath('fr')">FR</nuxt-link>
</div>
- In the root folder, run the following command:
$ npm run generate
- All the generated code will be apear in the
./dist
folder.
make fabicon