Comments (9)
more info provide? I tested well just now with the gh-pages branch and the last edition.
from vue-simplemde.
Hello my friend , thanks for answering .
I imported the code in NPM , like this -
npm install vue-simplemde --save
This is the code for vue 1.0 or vue 2.0 ?
after that in vue , I imported like this -
import VueSimplemde from 'vue-simplemde';
And this gave me this error -
Thanks .
from vue-simplemde.
Not at all. It for both vue1.0 and vue2.0 now.
Is this in your webpack configs ? If not, the same as #3 and I will fix this before long.
{
resolve: {
extensions: ['.vue'],
}
},
from vue-simplemde.
no, it didnt work
from vue-simplemde.
extension added in 0.3.7 with commit 86e76bf
from vue-simplemde.
Thanks for the help my friend . I did those changes .
But know it has changed the error -
from vue-simplemde.
Can you provide your package.json file
from vue-simplemde.
it is like this -
{
"private": true,
"scripts": {
"webpack": "set NODE_ENV=development && webpack --hide-modules",
"dev": "set NODE_ENV=development && webpack --hide-modules --watch",
"production": "set NODE_ENV=production && webpack --hide-modules"
},
"devDependencies": {
"axios": "^0.15.3",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "^6.18.0",
"bootstrap-sass": "^3.3.7",
"gulp": "^3.9.1",
"jquery": "^3.1.0",
"laravel-elixir": "^6.0.0-14",
"laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-webpack-official": "^1.0.2",
"laravel-mix": "^0.5.0",
"lodash": "^4.16.2",
"vue": "^2.1.8",
"vue-resource": "^1.0.3",
"webpack": "^2.2.0-rc.3"
},
"dependencies": {
"vue-simplemde": "^0.3.6",
}
}
Thanks
from vue-simplemde.
You should add the vue-loader to handle *.vue files, use vue-cli maybe is the better way for you.
from vue-simplemde.
Related Issues (20)
- @input event never fire HOT 1
- Editor not working. Showing regular textarea field HOT 2
- @input event not firing HOT 1
- Vue2.6.x导入VueSimplemde时出现报错 xxx is not exported from package HOT 2
- support for emojis
- marked is not a function
- Cannot enable code highlight HOT 1
- Displaying the rendered markdown without going fullscreen.
- Focusing Element needed HOT 1
- 请问是否删除了 vue-simplemde/src/markdown-editor ? HOT 2
- Vetur & typescript: Cannot find module 'vue-simplemde'. Vetur(2307) HOT 1
- modelVal not updating on model change HOT 3
- Changing the config setup in initialise to the spread operator broke in IE HOT 4
- How do you clear the vue-simplemde after axios.post method? HOT 1
- 怎么使用单纯的查看模式 HOT 3
- v-model is broken HOT 4
- Question: customising button bar HOT 1
- Add changelog.md
- vue-simplemde 支持vue3吗 HOT 1
- Updating modelValue from outside of the editor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-simplemde.