Skip to content

Commit

Permalink
fix(demo): use hash in links and add prebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Nov 10, 2016
1 parent 68ce0b8 commit e814afb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"scripts": {
"prestart": "npm run sass",
"start": "react-scripts start",
"prebuild": "npm run sass",
"build": "react-scripts build",
"sass": "./node_modules/.bin/node-sass src/scss/app.scss -o public/css/",
"test": "react-scripts test --env=jsdom",
Expand Down
10 changes: 5 additions & 5 deletions packages/demo/src/components/Menu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ const MENUS = [
{
name: 'Work',
entries: [
{name: 'Today', icon: 'fa-clock-o', url: '/'},
{name: 'Report', icon: 'fa-bar-chart', url: '/report'}
{name: 'Today', icon: 'fa-clock-o', url: '#/'},
{name: 'Report', icon: 'fa-bar-chart', url: '#/report'}
]
},
{
name: 'Manage',
entries: [
{name: 'Clients', icon: 'fa-users', url: '/clients'},
{name: 'Projects', icon: 'fa-folder', url: '/projects'},
{name: 'Tasks', icon: 'fa-tasks', url: '/tasks'}
{name: 'Clients', icon: 'fa-users', url: '#/clients'},
{name: 'Projects', icon: 'fa-folder', url: '#/projects'},
{name: 'Tasks', icon: 'fa-tasks', url: '#/tasks'}
]
}
]
Expand Down

0 comments on commit e814afb

Please sign in to comment.