Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCMS - Integrate Netlify CMS #143
Comments
yyx990803
added
help wanted
contribution welcome
and removed
help wanted
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
dacsang97
Apr 19, 2018
I completely integrate Netlify CMS for Vuepress by using enhanceApp.js
You must push config.yml (Configuration file of Netlify CMS) to .vuepress/public/admin/config.yml
_
enhanceApp.js
const Admin = () => import("./Admin");
export default ({ Vue, options, router }) => {
router.addRoutes([
{
path: "/admin",
component: Admin
}
]);
};_
Admin.vue
<template>
</template>
<script>
import CMS from "netlify-cms";
import "netlify-cms/dist/cms.css";
import netlifyIndentityWidget from "netlify-identity-widget";
export default {
created() {
window.netlifyIndentityWidget = netlifyIndentityWidget;
netlifyIndentityWidget.init();
}
};
</script>
dacsang97
commented
Apr 19, 2018
•
|
I completely integrate Netlify CMS for Vuepress by using const Admin = () => import("./Admin");
export default ({ Vue, options, router }) => {
router.addRoutes([
{
path: "/admin",
component: Admin
}
]);
};_ <template>
</template>
<script>
import CMS from "netlify-cms";
import "netlify-cms/dist/cms.css";
import netlifyIndentityWidget from "netlify-identity-widget";
export default {
created() {
window.netlifyIndentityWidget = netlifyIndentityWidget;
netlifyIndentityWidget.init();
}
};
</script> |
This was referenced Apr 22, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tomcam
Apr 24, 2018
I'm working on the smoother onboarding experience part at VuePress Book. It will include a Netlify walkthrough.
Comments are more than welcome!
tomcam
commented
Apr 24, 2018
|
I'm working on the smoother onboarding experience part at VuePress Book. It will include a Netlify walkthrough. Comments are more than welcome! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
TomPichaud
Apr 25, 2018
Maybe we should wait for the plugin API to be done #240 and then create a Netlify CMS plugin.
TomPichaud
commented
Apr 25, 2018
|
Maybe we should wait for the plugin API to be done #240 and then create a Netlify CMS plugin. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
capriosa
Apr 30, 2018
I integrate NetlifyCMS on https://vuepress-deploy.netlify.com
There is a Netlify Deploy Button so if you have a Netlify account you can install VuePress with NetlifyCMS with one click.
In '.vuepress/public/config.yml' change the repo name
backend:
name: github
repo: capriosa/vuepress-deploy
branch: master
Then add an Oauth app to your github account: https://github.com/settings/developers
For the Authorization callback URL, enter https://api.netlify.com/auth/done.
When you complete the registration, you’ll be given a Client ID and a Client Secret for the app. You’ll need to add these to your Netlify project:
Go to your Netlify dashboard and click on your project.
Navigate to Settings > Access control > OAuth.
Under Authentication Providers, click Install Provider.
Select GitHub and enter the Client ID and Client Secret, then save.
Now you can loggin to your NetlifyCMS with '/admin' after the URL of your site.
capriosa
commented
Apr 30, 2018
|
I integrate NetlifyCMS on https://vuepress-deploy.netlify.com
Then add an Oauth app to your github account: https://github.com/settings/developers When you complete the registration, you’ll be given a Client ID and a Client Secret for the app. You’ll need to add these to your Netlify project:
Now you can loggin to your NetlifyCMS with '/admin' after the URL of your site. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ekoeryanto
May 20, 2018
Contributor
I prefer use cdn method of netlify cms and create separated netlify-cms stuffs (widgets, preview and editor-component) elsewhere so it build fast and easy to maintain.
I did it with nuxtjs project and here's my separated netlify-cms widgets
|
I prefer use cdn method of netlify cms and create separated netlify-cms stuffs (widgets, preview and editor-component) elsewhere so it build fast and easy to maintain. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
samSwitch
Aug 6, 2018
Any update here? I'd love to see some comprehensive docs for Netlify CMS integration for those of us like me who need a bit of help.
samSwitch
commented
Aug 6, 2018
|
Any update here? I'd love to see some comprehensive docs for Netlify CMS integration for those of us like me who need a bit of help. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tomcam
Aug 6, 2018
I have a first draft of a writeup here: http://vuepressbook.com/netlify.html
Feel free to tell me how it sucks so I can make it better.
tomcam
commented
Aug 6, 2018
|
I have a first draft of a writeup here: http://vuepressbook.com/netlify.html Feel free to tell me how it sucks so I can make it better. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
capriosa
commented
Aug 6, 2018
|
Use my Netlify deploy button. See my comment above from 04.30 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
samSwitch
Aug 6, 2018
Thanks @tomcam looks good but seems its more about Netlify rather than integrating VuePress with a CMS specifically Netlify CMS.
Thanks @capriosa I'll have to give it a try.
samSwitch
commented
Aug 6, 2018
|
Thanks @tomcam looks good but seems its more about Netlify rather than integrating VuePress with a CMS specifically Netlify CMS. Thanks @capriosa I'll have to give it a try. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ekoeryanto
Aug 12, 2018
Contributor
this is another example https://github.com/ekoeryanto/vuepress-netlify-cms
forked from @andreliem and modified to use netlify-git-gateway
|
this is another example https://github.com/ekoeryanto/vuepress-netlify-cms |
slathrop commentedApr 18, 2018
Write docs, demo code/project, and any VuePress tweaks necessary for smooth integration with Netlify CMS
Motivation
/adminURL on your siteSuggested Implementation Tasks