Skip to content

Commit

Permalink
Modified personal website
Browse files Browse the repository at this point in the history
  • Loading branch information
drehimself committed Apr 5, 2019
0 parents commit 55040e4
Show file tree
Hide file tree
Showing 24 changed files with 18,975 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.log
.cache
.DS_Store
src/.temp
node_modules
dist
.env
.env.*
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Default starter for Gridsome

### 1. Install Gridsome CLI tool if you don't have

`npm install --global @gridsome/cli`

### 2. Create a Gridsome project

1. `gridsome create my-gridsome-site` to install default starter
2. `cd my-gridsome-site` to open the folder
3. `gridsome develop` to start a local dev server at `http://localhost:8080`
4. Happy coding 🎉🙌
26 changes: 26 additions & 0 deletions gridsome.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config

// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

const tailwind = require('tailwindcss')
const purgecss = require('@fullhuman/postcss-purgecss')

const postcssPlugins = [
tailwind(),
]

if (process.env.NODE_ENV === 'production') postcssPlugins.push(purgecss())

module.exports = {
siteName: 'Gridsome Portfolio Starter',
plugins: [],
css: {
loaderOptions: {
postcss: {
plugins: postcssPlugins,
},
},
},
}
12 changes: 12 additions & 0 deletions gridsome.server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Server API makes it possible to hook into various parts of Gridsome
// on server-side and add custom data to the GraphQL data layer.
// Learn more: https://gridsome.org/docs/server-api

// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = function (api) {
api.loadSource(store => {
// Use the Data store API here: https://gridsome.org/docs/data-store-api
})
}
Loading

0 comments on commit 55040e4

Please sign in to comment.