-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 55040e4
Showing
24 changed files
with
18,975 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 🎉🙌 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
}) | ||
} |
Oops, something went wrong.