Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tutorial): complete step 5 #1586

Open
wants to merge 1 commit into
base: vue-step-5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cfignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/.cache
node_modules/
src/
1 change: 1 addition & 0 deletions Staticfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root: dist
5 changes: 5 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
applications:
- name: carbon-tutorial-vue-tubaleviao
memory: 64M
buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git
17 changes: 16 additions & 1 deletion src/styles/_carbon.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
$feature-flags: (
grid-columns-16: true,
);
// Feature flags
$css--font-face: true;
$css--plex: true;

@import 'carbon-components/scss/globals/scss/styles';
@import './carbon-fixes';

// Global styles
@import 'carbon-components/scss/globals/scss/css--font-face';
@import 'carbon-components/scss/globals/grid/grid';

// Carbon components
@import 'carbon-components/scss/components/breadcrumb/breadcrumb';
@import 'carbon-components/scss/components/button/button';
@import 'carbon-components/scss/components/data-table/data-table';
@import 'carbon-components/scss/components/link/link';
@import 'carbon-components/scss/components/pagination/pagination';
@import 'carbon-components/scss/components/tabs/tabs';
@import 'carbon-components/scss/components/ui-shell/ui-shell';
4 changes: 2 additions & 2 deletions src/views/RepoPage/RepoPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import gql from 'graphql-tag';
const REPO_QUERY = gql`
query REPO_QUERY {
# Let's use carbon as our organization
organization(login: "carbon-design-system") {
organization(login: "amiyou-project") {
# We'll grab all the repositories in one go. To load more resources
# continuously, see the advanced topics.
repositories(first: 75, orderBy: { field: UPDATED_AT, direction: DESC }) {
Expand Down Expand Up @@ -115,7 +115,7 @@ export default {
methods: {
onPagination(val) {
this.pageSize = val.length;
this.pageStart = val.start;
this.pageStart = val.start - 1;
this.page = val.page;
}
},
Expand Down