vuejs-wordpress-theme-starter | WordPress theme with the guts | Content Management System library
kandi X-RAY | vuejs-wordpress-theme-starter Summary
kandi X-RAY | vuejs-wordpress-theme-starter Summary
A WordPress theme with the guts ripped out and replaced with Vue.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- return a function
- Constructs a new Property .
- Remove references to target node
- Returns a tuple value from n
- Initialize a number .
- Formats two points
- inject function
- Creates a bt ttl .
- Creates a new set
- String - > Boolean
vuejs-wordpress-theme-starter Key Features
vuejs-wordpress-theme-starter Examples and Code Snippets
Community Discussions
Trending Discussions on vuejs-wordpress-theme-starter
QUESTION
I am new to vuejs and found a wordpress boilerplate theme to start working off of, however I am unable to get things working correctly.
I am trying to include bootstrap-vue into the theme but I am receiving the following error when running 'npm run dev or build or watch' ---
...ANSWER
Answered 2019-Oct-25 at 19:09first I would make sure all the loaders are loaded with your package.json
file (I only see one of them in your steps):
vue-style-loader and css-loader
Second, in your webpack config, your module.rules should have this object:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vuejs-wordpress-theme-starter
Clone the repo inside of your wp-content/themes/ directory
Navigate to the theme directory in your terminal and run npm install npm run watch for development npm run build when you're ready to deploy the theme.
Activate the theme in your WordPress instance.
Update your permalink settings (Settings -> Permalinks) to be "Day and name". If you don't want to use this setting you'll need to update the Vue router so it can find your content correctly. Please note that if you want to use a different permalink structure you'll need to update ./src/router/index.js so it looks for the correct path.
Boom.com!
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page