在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Vagr9K/gatsby-material-starter开源软件地址(OpenSource Url):https://github.com/Vagr9K/gatsby-material-starter开源编程语言(OpenSource Language):TypeScript 89.3%开源软件介绍(OpenSource Introduction):Gatsby Material StarterA Material Design oriented blog starter for GatsbyJS equipped with advanced features such as SEO, image optimization, PWA capabilities and infinite scrolling feeds. This starter aims to provide a minimal base for building advanced GatsbyJS powered websites by using the latest technologies to simplify your process. Starter supports both TypeScript and JavaScript, comes with Jest and Cypress configurations and allows you to write Unit/Integration/E2E tests out of the box. The starter uses DemoVisit Features
Getting StartedInstall this starter by running the following commands from your CLI: gatsby new YourProjectName https://github.com/Vagr9K/gatsby-material-starter
cd YourProjectName
yarn develop # or gatsby develop Note that the Gatsby CLI needs to be installed and updated for the Alternatively you can fork the project, make your changes and merge new upstream features when needed:
Receiving upstream updatesYou have multiple options when it comes to receiving upstream updates:
First option allows you to make your own changes to the theme without having to fork and publish it. This is the default approach when you clone/fork the starter repository. Second option simplifies your CI/CD setup and allows you to receive updates by simply bumping the package version. To switch to the remote version, open "gatsby-theme-material": "*", into "gatsby-theme-material": "3.1.0", // Or the version you want ConfigurationTo configure the theme edit your module.exports = {
plugins: [
{
resolve: `gatsby-theme-material`,
options: {
basePath: `/blog`,
},
},
],
}; For configuring the theme, consult its documentation pages: NetlifyCMSFirst of all, make sure to edit backend:
name: github # Refer to https://www.netlifycms.org/docs/authentication-backends/ for auth backend list and instructions
branch: master # Branch to update
repo: vagr9k/gatsby-material-starter # Repo for pushing new commits. Make sure to replace with your repo! You can visit If want to customize Netlify CMS, e.g. registering custom widgets or styling the preview pane, you can do so by editing import CMS from "netlify-cms-app";
CMS.init({
config: {
backend: {
name: "git-gateway",
},
},
}); For NetlifyCMS specific issues visit the official documentation. AuthorRuben Harutyunyan (@Vagr9K) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论