Full-featured template for JAMstack websites using nuxt.js
Deploy your own copy of this project on Netlify in just a few clicks:
I built this template with all the tools I found useful to develop my own personal projects, so it can be a bit biased. If you find something that you think is not relevant or could be improved, please open an issue or a pull request to fix it.
Vue.js + TypeScript
- Because I love strongly typed languages (I’m a bit of a java developer at heart)
- Don’t bother with linting ever again. Let Prettier handle it for you. Pre-commit hook included to lint your staged files.
- Unit tests with Jest and Vue Test Utils
- E2e tests with Cypress (runs in the CI)
- Multiple color themes
- Leverage the power of Tailwind CSS to build beautiful interfaces. You will find a Tailwind config file that you can customize to build your own theme.
- You can also use conventional scss style in the components.
- FontAwesome icons ready to use.
- Populate each page header metadata with name, description, image, etc.
- i18n preconfigured with two locales (English and French)
- Users can install the application on their device and run it offline
- Example of CI with Travis-CI
- Ready to deploy on Netlify using git integration
Clone the repository and install the dependencies:
git clone https://github.com/jsulpis/nuxtjs-template.git && cd nuxtjs-template && yarn
Serve with hot reload at localhost:3000.
If you want a JAMstack website: generate a fully static project with pre-rendered pages to put directly on a server or any hosting platform.
If you want to serve your website with SSR:
yarn build yarn start
This template is ready to be deployed on Netlify:
Deployment section of the documentation for more information.
You can integrate Netlify with your GitHub account, which will allow it to deploy each branch and pull request to their own environment, and the master branch in production.
See the documentation
Although you don’t have to, if you reuse this template for your projects I would appreciate it if you would credit me and provide a link to my GitHub profile in the footer. Thanks !
Released under the MIT license.