karngyan.com
1.0.0

黑暗主题,SEO友好:NUXT内容 + TailWindCSS + Firebase + I18N的水疗中心,用于拖延开发人员快速旋转自己的Kickass博客并展示他们的项目。

访问:template.karngyan.com查看此模板的所有功能版本。
# replace <username> with your username
git clone [email protected]: < username > /karngyan.com.git
git checkout -b website # install node <= 14 and yarn (highly recommended)
$ npm install --global yarn
# cd into your project and install the dependencies
$ yarn install
# run the dev server
$ yarn dev
# open localhost:3000页面现在可能无法加载,您可以在
karngyan.config.js中设置firebase.enabled = false。继续阅读。
karngyan.config.js 。您可以通过更改相应对象的enabled值来打开和关闭部分/页面。static目录中。部署时它与root匹配。strings对象。karngyan.config.js中设置firebase.enabled = false ,然后转到下一步。否则请遵循以下内容: rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /likes/{id} {
allow write: if request.auth != null;
allow read: if true;
}
match /comments/{id} {
allow write: if request.auth != null &&
request.resourse.data.text.size() > 0 &&
request.resource.data.slug.size() > 0;
allow read: if true;
}
}
}
.env.example > .env的副本,然后从配置对象添加值。websitedistyarn generatecontent/projects中,在content/posts和项目中写下您的博客。模板随附了几个样本。代码是您的,编辑任何您的想法。如果您喜欢的话,请不要忘记饰演存储库。
该项目使用NUXT内容,您可以在此处阅读有关它
您还可以设置林业以永不打开代码并使用酷编辑器。我将添加说明以稍后使用。
我自己的网站karngyan.com实际上是用Cloudfront的S3存储桶中的AWS部署的。但这带有一些需要配置和维护的警告。无论如何,如果您想检查一下,就可以将其部署到AWS的Gulpfile.js使用该项目。
贡献是使开源社区成为学习,启发和创造的惊人场所的原因。您所做的任何贡献都非常感谢。
git checkout -b feature/AmazingFeature )git commit -m 'Add some AmazingFeature' )git push origin feature/AmazingFeature )当您的网站添加到这里时,请提高公关。
找到您的字母顺序,或提出公关以自动化这一点。
根据MIT许可分发。有关更多信息,请参见LICENSE 。
karn- @gyankarn [email protected]
有关工作方式的详细说明,请查看NUXT.JS文档。