Back to home

blog/

nextjs

Version: 0.7.1

Last Updated: Unknown


Basic Lift Template

Use this tempalate to generate new lift projects.

Required

VariableData TypeInfo
namestringName of the blog post

Module files

1---
2basedir: content/blog
3---
4---
5date: "<%= name.split('-').filter((_data, index) => index < 3).join("-") %>"
6image: https://cdn.dennisokeeffe.com/assets/<%= name %>/main-image.png
7title: <%= _.startCase(name.split('-').filter((_data, index) => index >= 3)) %>
8description: <%= description %>
9tags: "beginner,nextjs,javascript"
10icons: "dok,nextjs,js"
11---
12
13This post will ...
14
15Source code can be found [here](https://github.com/okeeffed)
16
17## Prerequisites
18
191. Basic familiarity with [Create Next App](https://nextjs.org/docs/api-reference/create-next-app).
202. `create-next-app` installed.
213. Basic familiarity with [Next.js](https://nextjs.org/).
22
23## Getting started
24
25We will let `create-next-app` create the project directory `hello-world` for us:
26
27```s
28$ npx create-next-app hello-world
29# ... creates Next.js app for us
30$ cd hello-world
31```
32
33At this stage, a working Next.js app is ready for us.
34
35## ...
36
37...
38
39## Summary
40
41Today's post demonstrated how to ...
42
43## Resources and further reading
44
451. Basic familiarity with [Create Next App](https://nextjs.org/docs/api-reference/create-next-app).
462. Basic familiarity with [Next.js](https://nextjs.org/).
47
48_Photo credit: [`user`](https://unsplash.com/@user)_

Install


Lift generate


Repository

https://github.com/okeeffed/pkg-lift-blog

Sections