NOTE : The Gridsome project seems to be dead. As a result, the repository has been archived. Consider Nuxt as an alternative, Nuxt 3 is a very good experience.
This is a starter template for Gridsome using Typescript & Tailwind CSS. It uses eslint and typescript for static code analisys. In order to integrate these tools with Visual Studio Code, you'll need to install ESLint and Vetur extensions for the editor. Furthermore Tailwind CSS has been installed and to integrate this framework with VS Code, you'll need to install the TailwindCSS Intellisense extension.
yarn global add @gridsome/cli
gridsome create project-name https://github.com/Healios/gridsome-barebone.git
to install this startercd project-name
to open foldergridsome develop
to start local dev server athttp://localhost:8080
- Happy coding 🎉🙌
- edit the
.eslintrc.json
file and add your favorites rules fromeslint
,typescript
andvue
. - run
yarn lint:check
to see static analysis result - run
yarn lint:fix
to fix errors found byeslint
As mentioned before, in order to lint your Typescript code in *.vue
Single File Components with vscode you'll need to install ESLint
and Vetur
extensions for the editor.
Use the links above to install the extensions, or follow the steps below:
- Open your vscode, type
CTRL + SHIFT + X
- Search for ESLint
- Select and install the extension
- Do same thing for Vetur extension
In order to extend or replace default Tailwind CSS values, edit the tailwind.config.js file.